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

Freeswitch SVN anthm at freeswitch.org
Tue Mar 11 19:49:06 EDT 2008


Author: anthm
Date: Tue Mar 11 19:49:06 2008
New Revision: 7869

Modified:
   freeswitch/trunk/src/switch_channel.c

Log:
update

Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c	(original)
+++ freeswitch/trunk/src/switch_channel.c	Tue Mar 11 19:49:06 2008
@@ -1561,6 +1561,10 @@
 	char *func_val = NULL;
 	int nv = 0;
 
+	if (switch_strlen_zero(in)) {
+		return (char *)in;
+	}
+
 	q = in;
 	while(q && *q) {
 		if (!(p = strchr(q, '$'))) {



More information about the Freeswitch-svn mailing list