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

do not unlink https file on general error

It might be quite interesting which file (content) made curl freak out
and other methods keep the file around as well.

Git-Dch: Ignore
David Kalnischkies лет назад: 11
Родитель
Сommit
bb948ef562
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      methods/https.cc

+ 0 - 1
methods/https.cc

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