]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix xml no config catch-22
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Jul 2006 21:14:49 +0000 (21:14 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Jul 2006 21:14:49 +0000 (21:14 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1999 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.c

index c83f2c475aadb66259b3e969dc6a50ccb4519815..4076b10eef59f77bf1446f13ea3f20c679fb62ed 100644 (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) {