[mod_lcr] Use SWITCH_VA_NONE instead of an empty string to (finally) fix the gcc printf format warnings.

This commit is contained in:
Stefan Knoblich 2010-08-15 00:35:10 +02:00
parent bfa414cb0f
commit dbe62c25e9
1 changed files with 1 additions and 1 deletions

View File

@ -1783,7 +1783,7 @@ SWITCH_STANDARD_API(dialplan_lcr_function)
write_data(stream, as_xml, "dialstring", current->dialstring, 2, maximum_lengths.dialstring);
if (as_xml) {
event_xml = switch_event_xmlize(current->fields, "");
event_xml = switch_event_xmlize(current->fields, SWITCH_VA_NONE);
event_str = switch_xml_toxml(event_xml, SWITCH_FALSE);
stream->write_function(stream, event_str);
switch_xml_free(event_xml);