From e270bb4b7da2e21c67192d2c6e70d67fd3c7684e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Jul 2006 21:14:49 +0000 Subject: [PATCH] fix xml no config catch-22 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1999 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_xml.c b/src/switch_xml.c index c83f2c475a..4076b10eef 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -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) {