fix crabby compiler

This commit is contained in:
Jeff Lenk 2012-01-18 11:19:33 -06:00
parent 40c9dc4149
commit c31acbfdb7
1 changed files with 1 additions and 1 deletions

View File

@ -2078,7 +2078,7 @@ SWITCH_STANDARD_APP(httapi_function)
if (!zstr(data)) {
switch_event_create_brackets((char *)data, '{', '}', ',', &params, &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);
}
}