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:
parent
decb286114
commit
a0e910014d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue