summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-03-27 11:14:44 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-04-19 01:13:08 +0200
commitbb948ef562862e5cc9fcfb3d7b5e41c70382adeb (patch)
tree3a778e1eede4323c71031c8d8bc89c08a2a3a82b /methods/https.cc
parent42fab5fbc85e243b958beff95912c46fb81abcc0 (diff)
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
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index 32de42e4b..c69e84d3a 100644
--- a/methods/https.cc
+++ b/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;
}