提交 ea5e8841 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-5779 --resolve

上级 a6db7e78
......@@ -1639,7 +1639,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_parse_file(const char *file)
write_fd = NULL;
if ((fd = open(new_file, O_RDONLY, 0)) > -1) {
if ((xml = switch_xml_parse_fd(fd))) {
if (strcmp(file, SWITCH_GLOBAL_filenames.conf_name)) {
if (strcmp(abs, SWITCH_GLOBAL_filenames.conf_name)) {
xml->free_path = new_file;
new_file = NULL;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论