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

FreeSWITCH SVN anthm at freeswitch.org
Thu May 21 13:10:24 PDT 2009


Author: anthm
Date: Thu May 21 15:10:24 2009
New Revision: 13414

Log:
FSCORE-370

Modified:
   freeswitch/trunk/src/switch_channel.c
   freeswitch/trunk/src/switch_event.c

Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c	(original)
+++ freeswitch/trunk/src/switch_channel.c	Thu May 21 15:10:24 2009
@@ -1985,12 +1985,12 @@
 			if (*p == '\\') {
 				if (*(p + 1) == '$') {
 					nv = 1;
+					p++;
 				} else if (*(p + 1) == '\\') {
 					*c++ = *p++;
 					len++;
 					continue;
 				}
-				p++;
 			}
 
 			if (*p == '$' && !nv) {

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Thu May 21 15:10:24 2009
@@ -1353,12 +1353,12 @@
 			if (*p == '\\') {
 				if (*(p + 1) == '$') {
 					nv = 1;
+					p++;
 				} else if (*(p + 1) == '\\') {
 					*c++ = *p++;
 					len++;
 					continue;
 				}
-				p++;
 			}
 
 			if (*p == '$' && !nv) {



More information about the Freeswitch-svn mailing list