Sfoglia il codice sorgente

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

Michael Vogt 17 anni fa
parent
commit
cb3cc4806c
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      methods/https.cc

+ 0 - 1
methods/https.cc

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