Bug 7526 - previous commit broke app_sms

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-07-14 13:31:11 +00:00
parent 6ea65400a0
commit ce37a590e5

View File

@@ -1205,7 +1205,8 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp
f.datalen = samples * 2;
#endif
f.offset = AST_FRIENDLY_OFFSET;
f.data = buf + AST_FRIENDLY_OFFSET;
f.mallocd = 0;
f.data = buf;
f.samples = samples;
f.src = "app_sms";
/* create a buffer containing the digital sms pattern */