[svn-commits] trunk r33298 - in /trunk: ./ channels/chan_iax2.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Jun 9 11:29:58 MST 2006


Author: file
Date: Fri Jun  9 13:29:58 2006
New Revision: 33298

URL: http://svn.digium.com/view/asterisk?rev=33298&view=rev
Log:
Merged revisions 33297 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33297 | file | 2006-06-09 15:26:42 -0300 (Fri, 09 Jun 2006) | 2 lines

Remove an unneeded double lock (issue #7310 reported by arkadia)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=33298&r1=33297&r2=33298&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Fri Jun  9 13:29:58 2006
@@ -5815,11 +5815,9 @@
 	if (iaxs[callno]) {
 		iaxs[callno]->authfail = failcode;
 		if (delayreject) {
-			ast_mutex_lock(&iaxsl[callno]);
 			if (iaxs[callno]->authid > -1)
 				ast_sched_del(sched, iaxs[callno]->authid);
 			iaxs[callno]->authid = ast_sched_add(sched, 1000, auth_reject, (void *)(long)callno);
-			ast_mutex_unlock(&iaxsl[callno]);
 		} else
 			auth_reject((void *)(long)callno);
 	}



More information about the svn-commits mailing list