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:
Anthony Minessale 2006-06-26 18:26:56 +00:00
parent ef8635e55e
commit e30e2c5cbd
1 changed files with 0 additions and 3 deletions

View File

@ -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);
} }