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:
Anthony Minessale 2008-05-10 05:52:46 +00:00
parent 9c7657f933
commit fec89e2614
1 changed files with 0 additions and 8 deletions

View File

@ -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);
}