[asterisk-commits] file: trunk r47404 - /trunk/main/pbx.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Nov 9 20:34:14 MST 2006
Author: file
Date: Thu Nov 9 21:34:13 2006
New Revision: 47404
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47404
Log:
This should already be called while locked.
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=47404&r1=47403&r2=47404
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Thu Nov 9 21:34:13 2006
@@ -2090,7 +2090,6 @@
if (!e)
return -1;
- AST_RWLIST_WRLOCK(&hints);
AST_RWLIST_TRAVERSE_SAFE_BEGIN(&hints, hint, list) {
if (hint->exten == e) {
cbprev = NULL;
@@ -2110,7 +2109,6 @@
}
}
AST_RWLIST_TRAVERSE_SAFE_END
- AST_RWLIST_UNLOCK(&hints);
return res;
}
More information about the asterisk-commits
mailing list