From e67a6e03440789e4a4fbc5760a5f44534bb19d46 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 4 Oct 2005 22:15:28 +0000 Subject: [PATCH] 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 --- manager.c | 2 -- 1 file changed, 2 deletions(-) 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) {