mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 20:48:21 +00:00
fix build
This commit is contained in:
parent
633dfe2a56
commit
9108a08a47
@ -833,7 +833,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char *
|
|||||||
verto_dialplan = val;
|
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 *var = switch_xml_attr_soft(x_param, "name");
|
||||||
const char *val = switch_xml_attr_soft(x_param, "value");
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user