finish removal of timeout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8348 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9c7657f933
commit
fec89e2614
|
@ -304,14 +304,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
|
|||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (timeout > -1) {
|
||||
elapsed = (unsigned int) ((switch_time_now() - started) / 1000);
|
||||
if (elapsed >= (unsigned int) timeout) {
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
switch_yield(1000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue