mod_lcr: fix compiler warning on newer gcc

This commit is contained in:
Mathieu Rene committed 2010-08-14 16:50:06 -04:00
1 parent 6980305f3a
commit bfa414cb0f
2 files changed
+2 -2

No files matched your search

+1 -1
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, NULL);
event_xml = switch_event_xmlize(current->fields, "");
event_str = switch_xml_toxml(event_xml, SWITCH_FALSE);
stream->write_function(stream, event_str);
switch_xml_free(event_xml);