[Freeswitch-svn] [commit] r8891 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Thu Jul 3 13:24:53 EDT 2008


Author: anthm
Date: Thu Jul  3 13:24:53 2008
New Revision: 8891

Modified:
   freeswitch/trunk/src/switch_xml.cpp

Log:
fix pointer thing

Modified: freeswitch/trunk/src/switch_xml.cpp
==============================================================================
--- freeswitch/trunk/src/switch_xml.cpp	(original)
+++ freeswitch/trunk/src/switch_xml.cpp	Thu Jul  3 13:24:53 2008
@@ -1545,7 +1545,9 @@
 {
 	const char *e = NULL;
 	int immune = 0;
-	
+
+	if (!s && *s) return *dst;	
+
 	if (len) {
 		e = s + len;
 	}



More information about the Freeswitch-svn mailing list