come down from acid trip there is no test_flag_locked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3894 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-01-02 19:31:06 +00:00
parent 64bc419497
commit d41a5a99d1
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
while (switch_test_flag(tech_pvt, TFLAG_IO)) { while (switch_test_flag(tech_pvt, TFLAG_IO)) {
//switch_thread_cond_wait(tech_pvt->cond, tech_pvt->mutex); //switch_thread_cond_wait(tech_pvt->cond, tech_pvt->mutex);
if (switch_test_flag_locked(tech_pvt, TFLAG_BREAK)) { if (switch_test_flag(tech_pvt, TFLAG_BREAK)) {
switch_clear_flag(tech_pvt, TFLAG_BREAK); switch_clear_flag(tech_pvt, TFLAG_BREAK);
tech_pvt->read_frame.datalen = 13; tech_pvt->read_frame.datalen = 13;
memset(tech_pvt->read_frame.data, 0, 13); memset(tech_pvt->read_frame.data, 0, 13);