Skip to content
Snippets Groups Projects
Commit a717afc3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

gmtime() really can't even return NULL, can it?

parent f023b4cc
No related branches found
No related tags found
No related merge requests found
......@@ -1381,10 +1381,6 @@ CURLcode Curl_http(struct connectdata *conn)
#else
thistime = gmtime(&data->set.timevalue);
#endif
if(NULL == thistime) {
failf(data, "localtime() failed!");
return CURLE_OUT_OF_MEMORY;
}
#ifdef HAVE_STRFTIME
/* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment