Explorar o código

methods/https.cc: do not unlink partial files (thanks to robbiew)

Michael Vogt %!s(int64=17) %!d(string=hai) anos
pai
achega
cb3cc4806c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      methods/https.cc

+ 0 - 1
methods/https.cc

@@ -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;