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 98dfeef..7c743a4 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;