From 96638d7bb599de15e962adb9fd5ffd181ac59d3c Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Tue, 22 Apr 2008 20:25:56 +0000
Subject: [PATCH] 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 cb57ac6296..fbb14d8ae5 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) {
-- 
GitLab