summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 271421c)
raw | patch | inline | side by side (parent: 271421c)
author | Nick Hengeveld <nickh@reactrix.com> | |
Fri, 30 Sep 2005 23:27:47 +0000 (16:27 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Oct 2005 06:17:15 +0000 (23:17 -0700) |
Don't unlink the temp file when an object transfer fails, so next attempt
will pick up where the failed transfer left off
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
will pick up where the failed transfer left off
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | patch | blob | history |
diff --git a/http-fetch.c b/http-fetch.c
index e8ac9959ff712f3d482789ac00e6181fd8461931..71a8c60b56914ca579db3da1d2bef6795acc7bf9 100644 (file)
--- a/http-fetch.c
+++ b/http-fetch.c
curl_result = curl_easy_perform(curl);
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, no_range_header);
if (curl_result != 0) {
- unlink(tmpfile);
return error("%s", curl_errorstr);
}