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

src/switch_event.c

index 36175984801bc363d2f7f519ed6605ab7c9904a5..9c57da5620ace8840173c96d4563430a0e1a73fa 100644 (file)
@@ -1251,7 +1251,7 @@ SWITCH_DECLARE(char *) switch_event_expand_headers(switch_event_t *event, const
        char *func_val = NULL;
        int nv = 0;
 
-       nv = switch_string_var_check((char *)in, SWITCH_FALSE);
+       nv = switch_string_var_check_const(in);
 
        if (!nv) {
                return (char *) in;