summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c
index bfbf715a0..6bcac69a6 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -1242,9 +1242,6 @@ bool fetch_process_headers(struct fetch *f)
if (strncmp(f->url, "file:///", 8) == 0)
url_path = curl_unescape(f->url + 7,
(int) strlen(f->url) - 7);
- else if (strncmp(f->url, "file:/", 6) == 0)
- url_path = curl_unescape(f->url + 5,
- (int) strlen(f->url) - 5);
if (url_path && stat(url_path, &s) == 0) {
/* file: URL and file exists */