fix xml no config catch-22

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1999 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-07-19 21:14:49 +00:00
parent 031af56d99
commit e270bb4b7d

View File

@ -912,7 +912,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_open_root(uint8_t reload, const char **e
switch_set_flag(MAIN_XML_ROOT, SWITCH_XML_ROOT);
}
} else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open XML Root!\n");
*err = "Cannot Open XML Root!";
}
if (hasmain) {