Преглед изворни кода

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 година
родитељ
комит
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;
    }