summaryrefslogtreecommitdiff
path: root/content/fetchers/fetch_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchers/fetch_curl.c')
-rw-r--r--content/fetchers/fetch_curl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/fetchers/fetch_curl.c b/content/fetchers/fetch_curl.c
index 7374bdb36..e27472a26 100644
--- a/content/fetchers/fetch_curl.c
+++ b/content/fetchers/fetch_curl.c
@@ -1183,7 +1183,6 @@ bool fetch_curl_process_headers(struct curl_fetch_info *f)
FETCH_ERROR_NO_ERROR);
/* create Content-Length */
- type = fetch_filetype(url_path);
snprintf(header, sizeof header,
"Content-Length: %" PRId64,
(int64_t) s.st_size);