[commit] r7412 - freeswitch/trunk/src/mod/applications/mod_voicemail
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; }
participants (1)
-
Freeswitch SVN