]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5779 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Sep 2013 04:27:06 +0000 (09:27 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Sep 2013 04:27:06 +0000 (09:27 +0500)
src/switch_xml.c

index abe08266135b190a76d405b4a9e801c5165689c8..81ec0609b8c753d6a1c1afda45dc9ef8ec1b1d1d 100644 (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;
                                }