From d41a5a99d1ff1712d3b763b44a2617338610928f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 2 Jan 2007 19:31:06 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_iax/mod_iax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_iax/mod_iax.c b/src/mod/endpoints/mod_iax/mod_iax.c index fd7d8626d7..dcc59ae2c2 100644 --- a/src/mod/endpoints/mod_iax/mod_iax.c +++ b/src/mod/endpoints/mod_iax/mod_iax.c @@ -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)) { //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); tech_pvt->read_frame.datalen = 13; memset(tech_pvt->read_frame.data, 0, 13);