From: Anthony Minessale Date: Fri, 7 Oct 2011 16:20:36 +0000 (-0500) Subject: fix build X-Git-Tag: v1.2-rc1~27^2~356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa3fa30a981997093686910705f0d5f8fb468380;p=thirdparty%2Ffreeswitch.git fix build --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index d788908437..335e15df00 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -549,7 +549,7 @@ static switch_status_t do_chat_send(switch_event_t *message_event) if (!(proto = switch_event_get_header(message_event, "proto"))) { proto = "global"; - switch_event_add_header(message_event, SWITCH_STACK_BOTTOM, "proto", proto); + switch_event_add_header_string(message_event, SWITCH_STACK_BOTTOM, "proto", proto); }