mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Remove a recursive lock of the manager session. This was pointed out by
zandbelt in issue #8711. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2130,9 +2130,7 @@ static void *session_do(void *data)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user