mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:01:40 +03:00
parent
2ffa8307b5
commit
c898da26c6
1 changed files with 2 additions and 0 deletions
|
|
@ -329,6 +329,8 @@ static CURLcode make_headers(struct Curl_easy *data,
|
|||
goto fail;
|
||||
head = tmp_head;
|
||||
*date_header = curl_maprintf("%s: %s\r\n", date_hdr_key, timestamp);
|
||||
if(!*date_header)
|
||||
goto fail;
|
||||
}
|
||||
else {
|
||||
const char *value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue