mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
[mod_commands,mod_event_socket,mod_event_test] fix up other users of switch_event_xmlize() to use SWITCH_EVENT_NONE
This commit is contained in:
1 parent
dbe62c25e9
commit
d6eb7562e5
3 files changed
+4
-4
No files matched your search
@@ -966,7 +966,7 @@ SWITCH_STANDARD_API(event_sink_function)
|
||||
switch_xml_t xml;
|
||||
etype = "xml";
|
||||
|
||||
if ((xml = switch_event_xmlize(pevent, "%s", ""))) {
|
||||
if ((xml = switch_event_xmlize(pevent, SWITCH_VA_NONE))) {
|
||||
listener->ebuf = switch_xml_toxml(xml, SWITCH_FALSE);
|
||||
switch_xml_free(xml);
|
||||
} else {
|
||||
@@ -1257,7 +1257,7 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event,
|
||||
switch_xml_t xml;
|
||||
etype = "xml";
|
||||
|
||||
if ((xml = switch_event_xmlize(pevent, "%s", ""))) {
|
||||
if ((xml = switch_event_xmlize(pevent, SWITCH_VA_NONE))) {
|
||||
listener->ebuf = switch_xml_toxml(xml, SWITCH_FALSE);
|
||||
switch_xml_free(xml);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user