[Freeswitch-svn] [commit] r4996 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Sat Apr 21 10:23:12 EDT 2007
Author: anthm
Date: Sat Apr 21 10:23:12 2007
New Revision: 4996
Modified:
freeswitch/trunk/src/switch_channel.c
Log:
add backslash to escape the backslash escape char in channel variable expansion
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Sat Apr 21 10:23:12 2007
@@ -1243,6 +1243,10 @@
if (*p == '\\') {
if (*(p + 1) == '$') {
nv = 1;
+ } else if (*(p + 1) == '\\') {
+ *c++ = *p++;
+ len++;
+ continue;
}
p++;
}
More information about the Freeswitch-svn
mailing list