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

This commit is contained in:
Daniel Stenberg 2003-10-31 21:43:22 +00:00
parent f023b4cc79
commit a717afc3a7

View File

@ -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" */