git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8246 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-02 13:18:54 +00:00
parent 636519ba6a
commit be276e0cfe
1 changed files with 4 additions and 4 deletions

View File

@ -835,6 +835,10 @@ SWITCH_DECLARE(switch_status_t) CoreSession::process_callback_result(char *ret)
switch_file_handle_t *fh = NULL;
if (switch_strlen_zero(ret)) {
return SWITCH_STATUS_SUCCESS;
}
if (fhp) {
fh = fhp;
} else {
@ -857,10 +861,6 @@ SWITCH_DECLARE(switch_status_t) CoreSession::process_callback_result(char *ret)
return SWITCH_STATUS_FALSE;
}
if (!ret) {
return SWITCH_STATUS_SUCCESS;
}
if (!session) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Process callback result aborted because session is null\n");
return SWITCH_STATUS_FALSE;