From: Anthony Minessale Date: Wed, 19 Jul 2006 21:14:49 +0000 (+0000) Subject: fix xml no config catch-22 X-Git-Tag: v1.0-beta1~2508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e270bb4b7da2e21c67192d2c6e70d67fd3c7684e;p=thirdparty%2Ffreeswitch.git fix xml no config catch-22 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1999 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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) {