]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Jun 2014 18:15:36 +0000 (23:15 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Jun 2014 18:15:41 +0000 (23:15 +0500)
src/mod/endpoints/mod_verto/mod_verto.c

index 2a8662615e57bd9132c93773e3674cd6d06bafba..34a67b38667216a26d6f6d0550007c57ab05d9e0 100644 (file)
@@ -833,7 +833,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char *
                                                verto_dialplan = val;
                                        }
 
-                                       switch_event_add_header(jsock->params, SWITCH_STACK_BOTTOM, var, val);
+                                       switch_event_add_header_string(jsock->params, SWITCH_STACK_BOTTOM, var, val);
                                }
                        }
 
@@ -842,7 +842,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char *
                                        const char *var = switch_xml_attr_soft(x_param, "name");
                                        const char *val = switch_xml_attr_soft(x_param, "value");
                                        
-                                       switch_event_add_header(jsock->vars, SWITCH_STACK_BOTTOM, var, val);
+                                       switch_event_add_header_string(jsock->vars, SWITCH_STACK_BOTTOM, var, val);
                                }
                        }