]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
more const madness
authorMichael Jerris <mike@jerris.com>
Thu, 22 Jan 2009 04:07:47 +0000 (04:07 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 22 Jan 2009 04:07:47 +0000 (04:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11354 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index cd7800d36609007cbda5f186b21ff6e73958f2c1..36893d49d8ac6275cb4ca3bcf491a55506a2285f 100644 (file)
@@ -1839,7 +1839,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
                return (char *) in;
        }
 
-       nv = switch_string_var_check((char *)in, SWITCH_FALSE);
+       nv = switch_string_var_check_const(in);
 
        if (!nv) {
                return (char *) in;