mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Klevtsov Vadim's time condition fix
This commit is contained in:
parent
8d62e21072
commit
e6dd4a6456
@ -751,7 +751,7 @@ CURLcode Curl_http(struct connectdata *conn)
|
||||
|
||||
#ifdef HAVE_STRFTIME
|
||||
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
|
||||
strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S %Z", thistime);
|
||||
strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S GMT", thistime);
|
||||
#else
|
||||
/* TODO: Right, we *could* write a replacement here */
|
||||
strcpy(buf, "no strftime() support");
|
||||
|
Loading…
Reference in New Issue
Block a user