summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-10-04 22:15:28 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-10-04 22:15:28 +0000
commite67a6e03440789e4a4fbc5760a5f44534bb19d46 (patch)
tree7038d8947166d0e9a545abdad1b7e0d2f3cabced
parenta0a478a72c7ab854ff486b9fe276277636f50586 (diff)
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
-rwxr-xr-xmanager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/manager.c b/manager.c
index be58e3fbd..386dd70cc 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) {