Merged revisions 37612 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Jul 2006 13:34:25 +0000 (13:34 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Jul 2006 13:34:25 +0000 (13:34 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37612 | tilghman | 2006-07-14 08:31:11 -0500 (Fri, 14 Jul 2006) | 2 lines

Bug 7526 - previous commit broke app_sms

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sms.c

index de07fdb..816cc42 100644 (file)
@@ -1203,7 +1203,7 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp
        f.datalen = len;
        f.offset = AST_FRIENDLY_OFFSET;
        f.mallocd = 0;
-       f.data = buf + AST_FRIENDLY_OFFSET;
+       f.data = buf;
        f.samples = samples;
        f.src = "app_sms";
        /* create a buffer containing the digital sms pattern */