From: Anthony Minessale Date: Tue, 11 Mar 2008 23:49:06 +0000 (+0000) Subject: update X-Git-Tag: v1.0-rc1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6305db0c3662d8a360a90c26ecadbba986d8e42;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7869 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_channel.c b/src/switch_channel.c index 98e5200ff6..caba6823fb 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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, '$'))) {