[asterisk-commits] russell: branch 1.4 r52688 -
/branches/1.4/main/manager.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 29 15:55:42 MST 2007
Author: russell
Date: Mon Jan 29 16:55:41 2007
New Revision: 52688
URL: http://svn.digium.com/view/asterisk?view=rev&rev=52688
Log:
Remove a recursive lock of the manager session. This was pointed out by
zandbelt in issue #8711.
Modified:
branches/1.4/main/manager.c
Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=52688&r1=52687&r2=52688
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Mon Jan 29 16:55:41 2007
@@ -2130,9 +2130,7 @@
struct mansession *s = data;
int res;
- ast_mutex_lock(&s->__lock);
astman_append(s, "Asterisk Call Manager/1.0\r\n");
- ast_mutex_unlock(&s->__lock);
for (;;) {
if ((res = do_message(s)) < 0)
break;
More information about the asterisk-commits
mailing list