forked from Mirrors/freeswitch
build fix
This commit is contained in:
parent
4ae090ffd9
commit
cc346c21d5
@ -1068,7 +1068,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_create_json(switch_event_t **event,
|
||||
|
||||
if (name && value) {
|
||||
if (!strcasecmp(name, "_body")) {
|
||||
switch_event_add_body(new_event, value);
|
||||
switch_event_add_body(new_event, value, SWITCH_VA_NONE);
|
||||
} else {
|
||||
if (!strcasecmp(name, "event-name")) {
|
||||
switch_event_del_header(new_event, "event-name");
|
||||
|
Loading…
Reference in New Issue
Block a user