[asterisk-commits] oej: trunk r46461 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Oct 30 11:02:38 MST 2006


Author: oej
Date: Mon Oct 30 12:02:37 2006
New Revision: 46461

URL: http://svn.digium.com/view/asterisk?rev=46461&view=rev
Log:
Small conversion to ast_channel_unlock

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=46461&r1=46460&r2=46461&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Oct 30 12:02:37 2006
@@ -13343,7 +13343,7 @@
 				if (res) {
 
 					/* Unlock locks so ast_hangup can do its magic */
-					ast_mutex_unlock(&c->lock);
+					ast_channel_unlock(c);
 					sip_pvt_unlock(p);
 					ast_hangup(c);
 					sip_pvt_lock(p);



More information about the asterisk-commits mailing list