mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
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…
x
Reference in New Issue
Block a user