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

Freeswitch SVN anthm at freeswitch.org
Sun Jan 20 14:05:17 EST 2008


Author: anthm
Date: Sun Jan 20 14:05:16 2008
New Revision: 7306

Modified:
   freeswitch/trunk/src/switch_utils.c

Log:
update

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Sun Jan 20 14:05:16 2008
@@ -1056,7 +1056,8 @@
 		int esc = 0;
 
 		if (*ptr == ESCAPE_META) {
-			if ((e = unescape_char(*(ptr+1))) != e) {
+			e = *(ptr+1);
+			if (e == '\'' || e == '"' || (e = unescape_char(*(ptr+1))) != *(ptr+1)) {
 				++ptr;
 				*dest++ = e;
 				end = dest;



More information about the Freeswitch-svn mailing list