aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanspy.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 20:59:51 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-03 20:59:51 +0000
commit3225a60b74c6d3bf6d7fad6ca9ece5d2e5cac89f (patch)
treed78fb2aaa0207687e200f094b0c28de052f2e685 /apps/app_chanspy.c
parent8653f3a16facf696e3fa1de5d5388c4bf209b95a (diff)
Make change proposed by andrew53 on bugtracker
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127857 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r--apps/app_chanspy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index ca19294df..7a89efd80 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -366,7 +366,7 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp
}
if ((spyee_bridge = ast_bridged_channel(spyee))) {
ast_channel_lock(spyee_bridge);
- if (start_spying(ast_bridged_channel(spyee), spyer_name, &csth.bridge_whisper_audiohook)) {
+ if (start_spying(spyee_bridge, spyer_name, &csth.bridge_whisper_audiohook)) {
ast_log(LOG_WARNING, "Unable to attach barge audiohook on spyee %s. Barge mode disabled!\n", spyee->name);
}
ast_channel_unlock(spyee_bridge);