[asterisk-commits] branch 1.2 r37612 - /branches/1.2/apps/app_sms.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jul 14 06:31:12 MST 2006


Author: tilghman
Date: Fri Jul 14 08:31:11 2006
New Revision: 37612

URL: http://svn.digium.com/view/asterisk?rev=37612&view=rev
Log:
Bug 7526 - previous commit broke app_sms

Modified:
    branches/1.2/apps/app_sms.c

Modified: branches/1.2/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_sms.c?rev=37612&r1=37611&r2=37612&view=diff
==============================================================================
--- branches/1.2/apps/app_sms.c (original)
+++ branches/1.2/apps/app_sms.c Fri Jul 14 08:31:11 2006
@@ -1205,7 +1205,8 @@
 	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 */



More information about the asterisk-commits mailing list