[asterisk-commits] russell: trunk r81849 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 6 17:32:04 CDT 2007


Author: russell
Date: Thu Sep  6 17:32:03 2007
New Revision: 81849

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81849
Log:
fix the build ... oops

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=81849&r1=81848&r2=81849
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Sep  6 17:32:03 2007
@@ -14013,9 +14013,9 @@
 	 * that hold the channel lock and want the pvt lock.  */
 	while (ast_channel_trylock(chan2)) {
 		struct sip_pvt *pvt = chan2->tech_pvt;
-		ast_mutex_unlock(&pvt->lock);
+		sip_pvt_unlock(pvt);
 		usleep(1);
-		ast_mutex_lock(&pvt->lock);
+		sip_pvt_lock(pvt);
 	}
 	ast_channel_masquerade(transferer, chan2);
 	ast_channel_unlock(chan2);




More information about the asterisk-commits mailing list