mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
parent
c97a8f07d5
commit
4ccf3a31f5
9 changed files with 66 additions and 81 deletions
|
|
@ -3962,9 +3962,8 @@ static CURLcode http_on_response(struct Curl_easy *data,
|
|||
out:
|
||||
if(last_hd) {
|
||||
/* if not written yet, write it now */
|
||||
CURLcode r2 = http_write_header(data, last_hd, last_hd_len);
|
||||
if(!result)
|
||||
result = r2;
|
||||
result = Curl_1st_err(
|
||||
result, http_write_header(data, last_hd, last_hd_len));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue