From b576d14d66d94fd14b13473ebb2385e527a0b98b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 24 Jan 2008 11:47:28 +0000 Subject: [PATCH] use switch_event_add_header_string git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7341 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 28ab613fa7..5acdce7307 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -850,7 +850,7 @@ switch_status_t config_sofia(int reload, char *profile_name) switch_event_create(¶ms, SWITCH_EVENT_MESSAGE); switch_assert(params); - switch_event_add_header(params, SWITCH_STACK_BOTTOM, "profile", profile_name); + switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "profile", profile_name); if (!(xml = switch_xml_open_cfg(cf, &cfg, params))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);