Fix bug #3576005: partial file means finished, not error.

This commit is contained in:
John-Mark Bell 2012-10-10 23:48:33 +01:00
parent 38a9c374a4
commit 43724acf94
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ void fetch_curl_done(CURL *curl_handle, CURLcode result)
if (!f->had_headers && fetch_curl_process_headers(f))
; /* redirect with partial body, or similar */
else {
error = true;
finished = true;
}
} else if (result == CURLE_WRITE_ERROR && f->stopped)
/* CURLE_WRITE_ERROR occurs when fetch_curl_data