Explorar el Código

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 hace 11 años
padre
commit
bb948ef562
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      methods/https.cc

+ 0 - 1
methods/https.cc

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