From 1780e2280561abad0e5c6f719d6de3bc90495d0b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 12 Sep 2013 09:27:06 +0500 Subject: [PATCH] FS-5779 --resolve --- src/switch_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_xml.c b/src/switch_xml.c index abe0826613..81ec0609b8 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -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; }