Browse Source

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 years ago
parent
commit
bb948ef562
1 changed files with 0 additions and 1 deletions
  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;
    }