[asterisk-commits] tilghman: branch 1.4 r59284 - in /branches/1.4:
	./ apps/app_voicemail.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Tue Mar 27 16:37:32 MST 2007
    
    
  
Author: tilghman
Date: Tue Mar 27 18:37:31 2007
New Revision: 59284
URL: http://svn.digium.com/view/asterisk?view=rev&rev=59284
Log:
Merged revisions 59283 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines
Oops
........
Modified:
    branches/1.4/   (props changed)
    branches/1.4/apps/app_voicemail.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=59284&r1=59283&r2=59284
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Tue Mar 27 18:37:31 2007
@@ -1400,7 +1400,7 @@
 		lseek(fd, 0, SEEK_SET);
 		printf("Length is %zd\n", fdlen);
 		fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED,fd, 0);
-		if (fdm != MAP_FAILED) {
+		if (fdm == MAP_FAILED) {
 			ast_log(LOG_WARNING, "Memory map failed!\n");
 			ast_odbc_release_obj(obj);
 			goto yuck;
    
    
More information about the asterisk-commits
mailing list