diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-25 20:37:05 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-25 20:37:05 +0000 |
commit | b151666d4cf4d309114966e814b320a906ce107e (patch) | |
tree | 1764bc3f694397b662cf4460267d5f1c27f29d10 /apps/app_chanisavail.c | |
parent | 1097fc2d38763a979b60da57ae8a8817d126ae10 (diff) |
correct sense of logic test (issue #5259)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_chanisavail.c')
-rwxr-xr-x | apps/app_chanisavail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanisavail.c b/apps/app_chanisavail.c index 14e66e02f..791851f08 100755 --- a/apps/app_chanisavail.c +++ b/apps/app_chanisavail.c @@ -135,7 +135,7 @@ static int chanavail_exec(struct ast_channel *chan, void *data) if (res < 1) { pbx_builtin_setvar_helper(chan, "AVAILCHAN", ""); 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; } |