From 1f81993df64c36e82286e87c6d31d4447a094df4 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Wed, 5 Feb 2014 22:25:14 -0500 Subject: [PATCH] FS-6192 --resolve --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 9897d15b70..acb4153861 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -1635,7 +1635,7 @@ void rayo_call_send(struct rayo_actor *call, struct rayo_message *msg) switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "content-type", "text/plain"); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "uuid", rayo_call_get_uuid(RAYO_CALL(call))); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", iks_find_cdata(stanza, "subject")); - switch_event_add_body(event, iks_find_cdata(stanza, "body")); + switch_event_add_body(event, "%s", iks_find_cdata(stanza, "body")); switch_event_fire(&event); } } else if (!msg->is_reply) {