allow manager actions to properly close the session again (issue #5350)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 4 Oct 2005 22:15:28 +0000 (22:15 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 4 Oct 2005 22:15:28 +0000 (22:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6715 65c4cc65-6c06-0410-ace0-fbb531ad65f3

manager.c

index be58e3f..386dd70 100755 (executable)
--- 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) {