aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_controlplayback.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 23:42:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 23:42:43 +0000
commit78861a7157650e1359f4895751bb63ca6e8f0d0c (patch)
treebe9d6d10f512129d27cc448da10a533c1b71b710 /apps/app_controlplayback.c
parent92484db103bd588309e63ba313c8e659cd6c5ef6 (diff)
fix logic for n+101 jumps
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7152 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_controlplayback.c')
-rwxr-xr-xapps/app_controlplayback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_controlplayback.c b/apps/app_controlplayback.c
index dab0c156c..55a46ceb5 100755
--- a/apps/app_controlplayback.c
+++ b/apps/app_controlplayback.c
@@ -140,7 +140,7 @@ static int controlplayback_exec(struct ast_channel *chan, void *data)
} else {
if (res < 0) {
if (priority_jump || option_priority_jumping) {
- 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)) {
ast_log(LOG_WARNING, "ControlPlayback tried to jump to priority n+101 as requested, but priority didn't exist\n");
}
}