[Freeswitch-svn] [commit] r7412 - freeswitch/trunk/src/mod/applications/mod_voicemail

Freeswitch SVN brian at freeswitch.org
Mon Jan 28 15:14:39 EST 2008


Author: brian
Date: Mon Jan 28 15:14:38 2008
New Revision: 7412

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Log:
fix race loop

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Mon Jan 28 15:14:38 2008
@@ -901,7 +901,7 @@
 			if (unlink(file_path) != 0) {
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "failed to delete file [%s]\n", file_path);
 			}
-            goto record_file;
+            goto end;
         } else {
             status = SWITCH_STATUS_SUCCESS;
         }



More information about the Freeswitch-svn mailing list