aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 17:07:07 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 17:07:07 +0000
commitc89b5d734e1eecfb22d3c859b59613542fc2a1b2 (patch)
tree97fe47aa5367f0d373f8ca37d78f292b009780a1 /main/channel.c
parentea048584fad530691af098b320b2d11f5373c703 (diff)
fix a bug introduced when I merged my frame caching branch. Queue the
translated frame to the spies, *not* the original frame. Thanks PCadach! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41389 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 84e54b806..61df3d243 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -1359,7 +1359,7 @@ static void queue_frame_to_spies(struct ast_channel *chan, struct ast_frame *f,
break;
}
}
- AST_LIST_INSERT_TAIL(&queue->list, ast_frdup(f), frame_list);
+ AST_LIST_INSERT_TAIL(&queue->list, ast_frdup(translated_frame), frame_list);
} else {
if (f->subclass != queue->format) {
ast_log(LOG_WARNING, "Spy '%s' on channel '%s' wants format '%s', but frame is '%s', dropping\n",