From a717afc3a7e2649987cd276c500dae73990f6f91 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 31 Oct 2003 21:43:22 +0000 Subject: gmtime() really can't even return NULL, can it? --- lib/http.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/http.c b/lib/http.c index 4543faee8..9d01ef87a 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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" */ -- cgit v1.2.3