]> git.saurik.com Git - apt.git/commitdiff
methods/https.cc: do not unlink partial files (thanks to robbiew)
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 3 Feb 2009 09:50:32 +0000 (10:50 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 3 Feb 2009 09:50:32 +0000 (10:50 +0100)
methods/https.cc

index 98dfeefa10ad638673580f07e985828d9094b11c..7c743a4246392482b0f7a0cbd3c42fa1c7bebc2f 100644 (file)
@@ -248,7 +248,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
    // cleanup
    if(success != 0) 
    {
-      unlink(File->Name().c_str());
       _error->Error("%s", curl_errorstr);
       Fail();
       return true;