mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
The logic of a strcasecmp call was reversed
(closes issue #13841) Reported by: clegall_proformatique git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@154724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2453,7 +2453,7 @@ static int action_agent_callback_login(struct mansession *s, const struct messag
|
||||
p->wrapuptime = 0;
|
||||
}
|
||||
|
||||
if (strcasecmp(ackcall_s, "always"))
|
||||
if (!strcasecmp(ackcall_s, "always"))
|
||||
p->ackcall = 2;
|
||||
else if (ast_true(ackcall_s))
|
||||
p->ackcall = 1;
|
||||
|
Reference in New Issue
Block a user