summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-09-23 17:41:35 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-09-25 11:31:03 -0500
commitc285879845147d720288571c9f358f834dc8d409 (patch)
treea0537a905608693bcec1294e640f0b98d87cd8de /apps/app_dial.c
parent6392fdf6dc3805fc08834ec0061601d880729ed1 (diff)
app_dial.c: Remove some no-op code.
Change-Id: Ice1884a94315d3cb7e3bbd47a9fba76a27276c54
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 46014c639..f646bba65 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -2707,7 +2707,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
chans[0] = chan;
chans[1] = peer;
- /* we need to stream the announcment while monitoring the caller for a hangup */
+ /* we need to stream the announcement while monitoring the caller for a hangup */
/* stream the file */
res = ast_streamfile(peer, opt_args[OPT_ARG_ANNOUNCE], ast_channel_language(peer));
@@ -2786,7 +2786,6 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
if (ast_pbx_start(peer)) {
ast_autoservice_chan_hangup_peer(chan, peer);
}
- hanguptree(&out_chans, NULL, ast_test_flag64(&opts, OPT_CANCEL_ELSEWHERE) ? 1 : 0);
if (continue_exec)
*continue_exec = 1;
res = 0;