[svn-commits] trunk r32606 - in /trunk: ./ apps/app_voicemail.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jun 6 09:59:14 MST 2006
Author: tilghman
Date: Tue Jun 6 11:59:13 2006
New Revision: 32606
URL: http://svn.digium.com/view/asterisk?rev=32606&view=rev
Log:
Merged revisions 32605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r32605 | tilghman | 2006-06-06 11:55:23 -0500 (Tue, 06 Jun 2006) | 2 lines
Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously
........
Modified:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=32606&r1=32605&r2=32606&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Jun 6 11:59:13 2006
@@ -2625,7 +2625,8 @@
if (duration < vmminmessage) {
if (option_verbose > 2)
ast_verbose( VERBOSE_PREFIX_3 "Recording was %d seconds long but needs to be at least %d - abandoning\n", duration, vmminmessage);
- DELETE(dir,msgnum,fn);
+ ast_filedelete(tmptxtfile, NULL);
+ unlink(tmptxtfile);
} else {
fprintf(txt, "duration=%d\n", duration);
fclose(txt);
More information about the svn-commits
mailing list