[asterisk-commits] mmichelson: trunk r92806 - in /trunk: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 13 13:53:22 CST 2007
Author: mmichelson
Date: Thu Dec 13 13:53:21 2007
New Revision: 92806
URL: http://svn.digium.com/view/asterisk?view=rev&rev=92806
Log:
Merged revisions 92803 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r92803 | mmichelson | 2007-12-13 13:49:55 -0600 (Thu, 13 Dec 2007) | 3 lines
Prevent a possible fd leak.
........
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=92806&r1=92805&r2=92806
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Dec 13 13:53:21 2007
@@ -1847,10 +1847,10 @@
}
}
- if (fputs(eol,so) == EOF)
+ fclose(fi);
+
+ if (fputs(eol,so)==EOF)
return 0;
-
- fclose(fi);
return 1;
}
More information about the asterisk-commits
mailing list