tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8246 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
636519ba6a
commit
be276e0cfe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue