]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
alternate fix for a0e910014d37cb3a32bb50091092ad54fa138422 with a slightly more effic...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 22 Sep 2011 23:05:40 +0000 (18:05 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 22 Sep 2011 23:05:40 +0000 (18:05 -0500)
src/mod/applications/mod_sms/mod_sms.c

index 86c2d55e19a531cb54005ea04467dca32b4d0f75..32200438e51be653d185705d35957178d14b49aa 100644 (file)
@@ -447,7 +447,7 @@ SWITCH_STANDARD_CHAT_APP(reply_function)
                switch_ivr_create_message_reply(&reply, message, SMS_CHAT_PROTO);
 
                if (!zstr(data)) {
-                       switch_event_add_body(reply, "%s", data);
+                       switch_event_set_body(reply, data);
                }
 
                switch_core_chat_deliver(proto, &reply);