mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-31 18:55:49 +00:00
fix race loop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7412 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e24672e0af
commit
00ce39e24c
@ -901,7 +901,7 @@ record_file:
|
|||||||
if (unlink(file_path) != 0) {
|
if (unlink(file_path) != 0) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "failed to delete file [%s]\n", file_path);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "failed to delete file [%s]\n", file_path);
|
||||||
}
|
}
|
||||||
goto record_file;
|
goto end;
|
||||||
} else {
|
} else {
|
||||||
status = SWITCH_STATUS_SUCCESS;
|
status = SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user