From: Kevin P. Fleming Date: Tue, 4 Oct 2005 22:15:28 +0000 (+0000) Subject: allow manager actions to properly close the session again (issue #5350) X-Git-Tag: 1.2.0-beta2~206 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e67a6e03440789e4a4fbc5760a5f44534bb19d46;p=thirdparty%2Fasterisk.git allow manager actions to properly close the session again (issue #5350) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6715 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/manager.c b/manager.c index be58e3fbd9..386dd70ccb 100755 --- a/manager.c +++ b/manager.c @@ -1283,8 +1283,6 @@ static int process_message(struct mansession *s, struct message *m) } if (!tmp) astman_send_error(s, m, "Invalid/unknown command"); - else - ret = 0; ast_mutex_lock(&s->__lock); s->busy = 0; while(s->eventq) {