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:
Mark Michelson
2008-11-05 16:44:34 +00:00
parent 8c352bb9aa
commit a82f9caadf

View File

@@ -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;