[Freeswitch-trunk] [commit] r6263 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Wed Nov 14 16:08:21 EST 2007


Author: anthm
Date: Wed Nov 14 16:08:21 2007
New Revision: 6263

Modified:
   freeswitch/trunk/src/switch_xml.cpp

Log:
don't delete fsxml files

Modified: freeswitch/trunk/src/switch_xml.cpp
==============================================================================
--- freeswitch/trunk/src/switch_xml.cpp	(original)
+++ freeswitch/trunk/src/switch_xml.cpp	Wed Nov 14 16:08:21 2007
@@ -1694,7 +1694,9 @@
 	}
 
 	if (xml->free_path) {
-		unlink(xml->free_path);
+		if (!switch_stristr(xml->free_path, ".fsxml")) {
+			unlink(xml->free_path);
+		}
 		switch_safe_free(xml->free_path);
 	}
 



More information about the Freeswitch-trunk mailing list