fix crabby compiler
This commit is contained in:
parent
40c9dc4149
commit
c31acbfdb7
|
@ -2078,7 +2078,7 @@ SWITCH_STANDARD_APP(httapi_function)
|
|||
if (!zstr(data)) {
|
||||
switch_event_create_brackets((char *)data, '{', '}', ',', ¶ms, &parsed, SWITCH_TRUE);
|
||||
if (!switch_event_get_header(params, "url") && !zstr(parsed) && switch_stristr("://", parsed)) {
|
||||
switch_event_add_header(params, SWITCH_STACK_BOTTOM, "url", parsed);
|
||||
switch_event_add_header(params, SWITCH_STACK_BOTTOM, "url", "%s", parsed);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue