From cb3cc4806c6585757377dfd54b7ce880ae1f99c7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 3 Feb 2009 10:50:32 +0100 Subject: methods/https.cc: do not unlink partial files (thanks to robbiew) --- methods/https.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'methods') 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; -- cgit v1.2.3