small fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8087 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
93771dc79f
commit
d7e0ef295c
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue