Просмотр исходного кода

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

Michael Vogt лет назад: 17
Родитель
Сommit
cb3cc4806c
1 измененных файлов с 0 добавлено и 1 удалено
  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;