make toxml generate nicer output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1682 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ef8635e55e
commit
e30e2c5cbd
|
@ -908,9 +908,6 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_open_root(uint8_t reload, const char **e
|
||||||
switch_xml_free(MAIN_XML_ROOT);
|
switch_xml_free(MAIN_XML_ROOT);
|
||||||
MAIN_XML_ROOT = NULL;
|
MAIN_XML_ROOT = NULL;
|
||||||
} else {
|
} else {
|
||||||
char *tmp = NULL;
|
|
||||||
tmp = switch_xml_toxml(MAIN_XML_ROOT);
|
|
||||||
printf(tmp);
|
|
||||||
*err = "Success";
|
*err = "Success";
|
||||||
switch_set_flag(MAIN_XML_ROOT, SWITCH_XML_ROOT);
|
switch_set_flag(MAIN_XML_ROOT, SWITCH_XML_ROOT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue