mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-12 17:20:23 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user