]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6192 --resolve
authorChris Rienzo <chris@rienzo.com>
Thu, 6 Feb 2014 03:25:14 +0000 (22:25 -0500)
committerChris Rienzo <chris@rienzo.com>
Thu, 6 Feb 2014 03:25:14 +0000 (22:25 -0500)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index 9897d15b70a82a4db516df238a5e40e29cc1961a..acb41538619c04429d31cd6986bd770c858fc444 100644 (file)
@@ -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) {