git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7869 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-03-11 23:49:06 +00:00
parent ddcae11f55
commit f6305db0c3
1 changed files with 4 additions and 0 deletions

View File

@ -1561,6 +1561,10 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
char *func_val = NULL;
int nv = 0;
if (switch_strlen_zero(in)) {
return (char *)in;
}
q = in;
while(q && *q) {
if (!(p = strchr(q, '$'))) {