From c19f9fca7142f0efcee815bf267eff350ff1cd55 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 22 Jan 2009 04:37:02 +0000 Subject: [PATCH] more const madness git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11355 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_event.c b/src/switch_event.c index 3617598480..9c57da5620 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -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;