[asterisk-commits] tilghman: trunk r59285 - in /trunk: ./
apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 27 16:38:23 MST 2007
Author: tilghman
Date: Tue Mar 27 18:38:22 2007
New Revision: 59285
URL: http://svn.digium.com/view/asterisk?view=rev&rev=59285
Log:
Merged revisions 59284 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59284 | tilghman | 2007-03-27 18:37:31 -0500 (Tue, 27 Mar 2007) | 10 lines
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:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=59285&r1=59284&r2=59285
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Mar 27 18:38:22 2007
@@ -1442,7 +1442,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