mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
make snprintf commands use the path seperator macro.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1544 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+1
-1
@@ -900,7 +900,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_open_root(uint8_t reload, const char **e
|
||||
switch_xml_free(xml);
|
||||
}
|
||||
|
||||
snprintf(path_buf, sizeof(path_buf), "%s/%s", SWITCH_GLOBAL_dirs.conf_dir, "freeswitch.xml");
|
||||
snprintf(path_buf, sizeof(path_buf), "%s%s%s", SWITCH_GLOBAL_dirs.conf_dir, SWITCH_PATH_SEPARATOR, "freeswitch.xml");
|
||||
if ((MAIN_XML_ROOT = switch_xml_parse_file(path_buf))) {
|
||||
*err = switch_xml_error(MAIN_XML_ROOT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user