From 96638d7bb599de15e962adb9fd5ffd181ac59d3c Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 22 Apr 2008 20:25:56 +0000 Subject: re-add a fix that got lost with a recent change git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114548 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3