[asterisk-commits] manager: Clear the flag on the other channel. (asterisk[14])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 26 12:58:33 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5726 )

Change subject: manager: Clear the flag on the other channel.
......................................................................


manager: Clear the flag on the other channel.

During the channel flag audit an incorrect change was
done. The flag should be cleared on the second channel.

ASTERISK-26469

Change-Id: I770c5a389550a2fb5a6ade942fccbb2e1d9199c8
---
M main/manager.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins2: Approved for Submit
  Sean Bright: Looks good to me, approved



diff --git a/main/manager.c b/main/manager.c
index 7751ef5..80d9659 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -4856,7 +4856,7 @@
 		ast_channel_clear_flag(chan, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT);
 	}
 	if (chan2_wait) {
-		ast_channel_clear_flag(chan, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT);
+		ast_channel_clear_flag(chan2, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT);
 	}
 
 	chan2 = ast_channel_unref(chan2);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I770c5a389550a2fb5a6ade942fccbb2e1d9199c8
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>



More information about the asterisk-commits mailing list