FS-5779 --resolve

This commit is contained in:
Anthony Minessale 2013-09-12 09:27:06 +05:00
parent 1d8820dc23
commit 1780e22805
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}