]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 23:49:06 +0000 (23:49 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 23:49:06 +0000 (23:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7869 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index 98e5200ff6a3a4a1df98dd2284b60a519b802198..caba6823fb2acee7fe4debb9380a9c25ec9d37a7 100644 (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, '$'))) {