[Asterisk-code-review] app dial.c: Remove some no-op code. (asterisk[master])

Richard Mudgett asteriskteam at digium.com
Fri Sep 25 11:31:03 CDT 2015


Richard Mudgett has uploaded a new change for review.

  https://gerrit.asterisk.org/1312

Change subject: app_dial.c: Remove some no-op code.
......................................................................

app_dial.c: Remove some no-op code.

Change-Id: Ice1884a94315d3cb7e3bbd47a9fba76a27276c54
---
M apps/app_dial.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/1312/1

diff --git a/apps/app_dial.c b/apps/app_dial.c
index 46014c6..f646bba 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -2707,7 +2707,7 @@
 			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 @@
 			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;

-- 
To view, visit https://gerrit.asterisk.org/1312
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice1884a94315d3cb7e3bbd47a9fba76a27276c54
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list