]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
small fix
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 11 Apr 2008 15:53:25 +0000 (15:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 11 Apr 2008 15:53:25 +0000 (15:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8087 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c
src/switch_event.c

index 04d204c4b57f0ff6636ca69d96124ece529cdc43..a0b2f31031888cbc69efdbb7f922594cc507cc36 100644 (file)
@@ -1581,11 +1581,6 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
                        break;
                }
 
-               if (*(p-1) == '\\') {
-                       q = p + 1;
-                       continue;
-               }
-
                if (*(p+1) != '{') {
                        q = p + 1;
                        continue;
@@ -1599,6 +1594,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
                return (char *)in;
        }
 
+       
        nv = 0;
        olen = strlen(in) + 1;
        indup = strdup(in);
index e35b8db70b16097154c822ca147789ae11fc2e9e..46a77419a552d4218348a70d692bd90253b0e102 100644 (file)
@@ -1044,11 +1044,6 @@ SWITCH_DECLARE(char *) switch_event_expand_headers(switch_event_t *event, const
                        break;
                }
                
-               if (*(p-1) == '\\') {
-                       q = p + 1;
-                       continue;
-               }
-
                if (*(p+1) != '{') {
                        q = p + 1;
                        continue;