Fixing a problem pointed out by Qwell

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2007-11-16 19:51:47 +00:00
parent 3107395445
commit fd7b3e7261

View File

@@ -2403,7 +2403,7 @@ static int process_message(struct mansession *s, const struct message *m)
sleep(1);
ast_mutex_lock(&s->__lock);
astman_send_error(s, m, "Login Already In Use");
ast_mutex_lock(&s->__lock);
ast_mutex_unlock(&s->__lock);
return -1;
}
}