]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
be more specific about what file to delete
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 4 Dec 2007 01:19:22 +0000 (01:19 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 4 Dec 2007 01:19:22 +0000 (01:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6483 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.cpp

index 228b29a174f0bfe2dee564542b47246ca71be57f..3c35c879780159459036f43a6f8c91b14a4b80ac 100644 (file)
@@ -1699,7 +1699,7 @@ SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml)
        }
 
        if (xml->free_path) {
-               if (!switch_stristr(".fsxml", xml->free_path)) {
+               if (!switch_stristr("freeswitch.xml.fsxml", xml->free_path)) {
                        unlink(xml->free_path);
                }
                switch_safe_free(xml->free_path);