summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-02-03 10:50:32 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-02-03 10:50:32 +0100
commitcb3cc4806c6585757377dfd54b7ce880ae1f99c7 (patch)
tree294192bde921b1b3f93dfee5527f044e2c7fcb87
parent38e12b5374c1beeca1f70a031fdfccf38a283b49 (diff)
methods/https.cc: do not unlink partial files (thanks to robbiew)
-rw-r--r--methods/https.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index 98dfeefa1..7c743a424 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -248,7 +248,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
// cleanup
if(success != 0)
{
- unlink(File->Name().c_str());
_error->Error("%s", curl_errorstr);
Fail();
return true;