mod_sms: fix "format literal and no arguments" warning

mod_sms.c: In function ‘reply_function’:
mod_sms.c:450: error: format not a string literal and no format arguments

Reported-by: Gill #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
Stefan Knoblich 2011-09-22 21:11:43 +02:00
parent decb286114
commit a0e910014d
1 changed files with 2 additions and 2 deletions

View File

@ -445,9 +445,9 @@ SWITCH_STANDARD_CHAT_APP(reply_function)
if (proto) {
switch_ivr_create_message_reply(&reply, message, SMS_CHAT_PROTO);
if (!zstr(data)) {
switch_event_add_body(reply, data);
switch_event_add_body(reply, "%s", data);
}
switch_core_chat_deliver(proto, &reply);