]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Fri, 8 Sep 2006 17:03:06 +0000 (17:03 +0000)
committerAutomerge script <automerge@asterisk.org>
Fri, 8 Sep 2006 17:03:06 +0000 (17:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@42440 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_authenticate.c

index 583c5f4d3523a1598aa91055f8abd402a00026d7..5c65894e5a6fe33d2f8d9747c7765ae0553b2151 100644 (file)
@@ -186,7 +186,7 @@ static int auth_exec(struct ast_channel *chan, void *data)
                if (!res)
                        res = ast_waitstream(chan, "");
        } else {
-               if (jump && ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) {
+               if (jump && ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101) == 0) {
                        res = 0;
                } else {
                        if (!ast_streamfile(chan, "vm-goodbye", chan->language))