update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7869 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ddcae11f55
commit
f6305db0c3
|
@ -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, '$'))) {
|
||||
|
|
Loading…
Reference in New Issue