mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
correct sense of logic test (issue #5259)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -135,7 +135,7 @@ static int chanavail_exec(struct ast_channel *chan, void *data)
|
|||||||
if (res < 1) {
|
if (res < 1) {
|
||||||
pbx_builtin_setvar_helper(chan, "AVAILCHAN", "");
|
pbx_builtin_setvar_helper(chan, "AVAILCHAN", "");
|
||||||
pbx_builtin_setvar_helper(chan, "AVAILORIGCHAN", "");
|
pbx_builtin_setvar_helper(chan, "AVAILORIGCHAN", "");
|
||||||
if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
|
if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user