]> git.saurik.com Git - apt.git/commitdiff
Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404"
authorMichael Vogt <mvo@debian.org>
Mon, 13 Apr 2015 16:57:22 +0000 (12:57 -0400)
committerMichael Vogt <mvo@debian.org>
Mon, 13 Apr 2015 16:57:22 +0000 (12:57 -0400)
This reverts commit 1296bc7c466181a7978c313c40a041b34ce3eaeb.

methods/https.cc

index f2b00dd64f213c11c45bdc9a197536a8c0fb8336..3a5981b5824511a4cc9d9d74eb2f2bc3fbf475cd 100644 (file)
@@ -402,8 +402,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
       _error->Error("%s", err);
       // unlink, no need keep 401/404 page content in partial/
       unlink(File->Name().c_str());
-      Res.Size = 0;
-      Res.LastModified = 0;
       return false;
    }