diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-30 11:17:35 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-30 11:17:35 +0200 |
commit | de88004a9d5f257787f405bad8859c88c13e816d (patch) | |
tree | b8a984d0ddcbb892dbda217cba145549c435d0c0 /src/libstore/download.cc | |
parent | ab3ce1cc13153b2053302cdb710cb411b0b9d84e (diff) |
CurlDownloader: Fix HTTP error processing
Diffstat (limited to 'src/libstore/download.cc')
-rw-r--r-- | src/libstore/download.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 4776d0091..b3a79e82a 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -183,7 +183,6 @@ struct CurlDownloader : public Downloader curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpStatus); if (res != CURLE_OK) { - long httpStatus = 0; Error err = httpStatus == 404 ? NotFound : httpStatus == 403 ? Forbidden : Misc; |