aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-22 20:25:56 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-22 20:25:56 +0000
commit2dda47577cb7337717dc418279e60de2006c3762 (patch)
tree067c3df81e74220670c5c1b9e006fa9f06e58883 /main
parentab3a36206b951a86e8e32a40adc7935611b38749 (diff)
re-add a fix that got lost with a recent change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114548 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index cb57ac629..fbb14d8ae 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -2286,7 +2286,7 @@ static void ast_read_generator_actions(struct ast_channel *chan, struct ast_fram
* avoidance not to work in deeper functions
*/
ast_channel_unlock(chan);
- res = generate(chan, tmp, f->datalen, f->samples);
+ res = generate(chan, tmp, f->datalen, samples);
ast_channel_lock(chan);
chan->generatordata = tmp;
if (res) {