[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:
Stefan Knoblich 2010-08-15 00:39:49 +02:00
parent dbe62c25e9
commit d6eb7562e5
3 changed files with 4 additions and 4 deletions

View File

@ -4003,7 +4003,7 @@ SWITCH_STANDARD_API(uuid_dump_function)
switch_xml_t xml;
switch_channel_event_set_data(channel, event);
if (!strcasecmp(format, "xml")) {
if ((xml = switch_event_xmlize(event, "%s", ""))) {
if ((xml = switch_event_xmlize(event, SWITCH_VA_NONE))) {
buf = switch_xml_toxml(xml, SWITCH_FALSE);
switch_xml_free(xml);
} else {

View File

@ -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 {

View File

@ -49,7 +49,7 @@ static void event_handler(switch_event_t *event)
return;
default:
switch_event_serialize(event, &buf, SWITCH_TRUE);
if ((xml = switch_event_xmlize(event, NULL))) {
if ((xml = switch_event_xmlize(event, SWITCH_VA_NONE))) {
xmlstr = switch_xml_toxml(xml, SWITCH_FALSE);
dofree++;
}