mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
gmtime() really can't even return NULL, can it?
This commit is contained in:
parent
f023b4cc79
commit
a717afc3a7
@ -1381,10 +1381,6 @@ CURLcode Curl_http(struct connectdata *conn)
|
|||||||
#else
|
#else
|
||||||
thistime = gmtime(&data->set.timevalue);
|
thistime = gmtime(&data->set.timevalue);
|
||||||
#endif
|
#endif
|
||||||
if(NULL == thistime) {
|
|
||||||
failf(data, "localtime() failed!");
|
|
||||||
return CURLE_OUT_OF_MEMORY;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_STRFTIME
|
#ifdef HAVE_STRFTIME
|
||||||
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
|
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
|
||||||
|
Loading…
Reference in New Issue
Block a user