summaryrefslogtreecommitdiff
path: root/main/manager.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-05-26 16:41:59 +0000
committerJoshua Colp <jcolp@digium.com>2017-05-26 11:43:12 -0500
commit9c4f63263c3828ec137d25dcf88b2bfe8838327b (patch)
tree59f5be88298597ae651f5c71acb22abe66790b19 /main/manager.c
parent56b6a71548c1c0ca8f187f245ccb0c41c8569457 (diff)
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
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index dfb0d96c9..1bbd1bbe9 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -4850,7 +4850,7 @@ static int action_redirect(struct mansession *s, const struct message *m)
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);