Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix duplicate variable declaration
  • Loading branch information
giggsey authored Sep 10, 2020
commit 32e7e516527f718a1d1da0260241ca7f945d026c
3 changes: 0 additions & 3 deletions src/mod/applications/mod_httapi/mod_httapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2803,9 +2803,6 @@ static switch_status_t locate_url_file(http_file_context_t *context, const char
}

if (!context->url_params || !switch_true(switch_event_get_header(context->url_params, "nohead"))) {
const char *ct = NULL;
const char *newext = NULL;

if ((status = fetch_cache_data(context, url, &headers, NULL, NULL)) != SWITCH_STATUS_SUCCESS) {
if (status == SWITCH_STATUS_NOTFOUND) {
unreachable = 2;
Expand Down