]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Oct 2011 16:20:36 +0000 (11:20 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Oct 2011 16:20:36 +0000 (11:20 -0500)
src/switch_loadable_module.c

index d78890843791065b3ec81e3ad11d1d62630436b7..335e15df00899f8ecfa1fb20faee2027536c3096 100644 (file)
@@ -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);
        }