[asterisk-commits] russell: tag 1.4.19.2 r115888 - /tags/1.4.19.2/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 13 13:50:14 CDT 2008


Author: russell
Date: Tue May 13 13:50:13 2008
New Revision: 115888

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115888
Log:
Fix a minor problem with the backport to 1.4.19

Modified:
    tags/1.4.19.2/channels/chan_iax2.c

Modified: tags/1.4.19.2/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/tags/1.4.19.2/channels/chan_iax2.c?view=diff&rev=115888&r1=115887&r2=115888
==============================================================================
--- tags/1.4.19.2/channels/chan_iax2.c (original)
+++ tags/1.4.19.2/channels/chan_iax2.c Tue May 13 13:50:13 2008
@@ -1518,9 +1518,6 @@
  			memcpy(&tmp_pvt.addr, sin, sizeof(tmp_pvt.addr));
  
  			if ((pvt = ao2_find(iax_peercallno_pvts, &tmp_pvt, OBJ_POINTER))) {
- 				if (return_locked) {
- 					ast_mutex_lock(&iaxsl[pvt->callno]);
- 				}
  				res = pvt->callno;
  				ao2_ref(pvt, -1);
  				pvt = NULL;




More information about the asterisk-commits mailing list