mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
parent
2ffa8307b5
commit
c898da26c6
@ -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…
Reference in New Issue
Block a user