Fix an incorrect parenthesization (TODO: Find a better word) in app_dial
authorJason Parker <jparker@digium.com>
Tue, 17 Jul 2007 12:01:05 +0000 (12:01 +0000)
committerJason Parker <jparker@digium.com>
Tue, 17 Jul 2007 12:01:05 +0000 (12:01 +0000)
Pointed out by Fanzhou Zhao

Closes issue #10216

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75351 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 74546d8..d9b068d 100644 (file)
@@ -1567,7 +1567,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                        ast_parseable_goto(peer, opt_args[OPT_ARG_GOTO]);
                        peer->priority++;
                        ast_pbx_start(peer);
-                       hanguptree(outgoing, NULL, ast_test_flag(&opts, OPT_CANCEL_ELSEWHERE ? 1 : 0));
+                       hanguptree(outgoing, NULL, ast_test_flag(&opts, OPT_CANCEL_ELSEWHERE) ? 1 : 0);
                        if (continue_exec)
                                *continue_exec = 1;
                        res = 0;