[Freeswitch-svn] [commit] r3894 - freeswitch/trunk/src/mod/endpoints/mod_iax

Freeswitch SVN anthm at freeswitch.org
Tue Jan 2 14:31:06 EST 2007


Author: anthm
Date: Tue Jan  2 14:31:06 2007
New Revision: 3894

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c

Log:
come down from acid trip there is no test_flag_locked

Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	Tue Jan  2 14:31:06 2007
@@ -652,7 +652,7 @@
     
 	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);



More information about the Freeswitch-svn mailing list