aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanisavail.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-25 20:37:05 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-25 20:37:05 +0000
commitf47a9b2634e38a57bc0b5cff11b6ff239dc7d939 (patch)
tree1764bc3f694397b662cf4460267d5f1c27f29d10 /apps/app_chanisavail.c
parent5c01d344ca4c213cb2924f7f68eba392f00576e5 (diff)
correct sense of logic test (issue #5259)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6650 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanisavail.c')
-rwxr-xr-xapps/app_chanisavail.c2
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;
}