From bcd45496ed37a82ab21069b5b6564d96c71e72c5 Mon Sep 17 00:00:00 2001 From: Josh Roberson Date: Sun, 20 Nov 2005 05:39:47 +0000 Subject: Fix j option in a couple more places. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7140 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_controlplayback.c | 2 +- apps/app_md5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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"); } } diff --git a/apps/app_md5.c b/apps/app_md5.c index c9f4f0e11..24f3b74e4 100755 --- a/apps/app_md5.c +++ b/apps/app_md5.c @@ -157,7 +157,7 @@ static int md5check_exec(struct ast_channel *chan, void *data) ast_log(LOG_DEBUG, "ERROR: MD5 not verified: %s -- %s\n", args.md5hash, args.string); pbx_builtin_setvar_helper(chan, "CHECKMD5STATUS", "NOMATCH"); 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)) if (option_debug > 2) ast_log(LOG_DEBUG, "ERROR: Can't jump to exten+101 (e%s,p%d), sorry\n", chan->exten,chan->priority+101); } -- cgit v1.2.3