[asterisk-commits] twilson: branch 1.8 r285017 - /branches/1.8/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 3 18:19:58 CDT 2010
Author: twilson
Date: Fri Sep 3 18:19:54 2010
New Revision: 285017
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=285017
Log:
Call correct lock function as transferer is a sip_pvt not a channel
Both functions are #defined to ao2_lock, but still...
Modified:
branches/1.8/channels/chan_sip.c
Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=285017&r1=285016&r2=285017
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Fri Sep 3 18:19:54 2010
@@ -21733,7 +21733,7 @@
ast_do_masquerade(target.chan1);
- ast_channel_lock(transferer); /* the transferer pvt is expected to remain locked on return */
+ sip_pvt_lock(transferer); /* the transferer pvt is expected to remain locked on return */
ast_indicate(target.chan1, AST_CONTROL_UNHOLD);
More information about the asterisk-commits
mailing list