From: Daniel Stenberg Date: Fri, 31 Oct 2003 21:43:22 +0000 (+0000) Subject: gmtime() really can't even return NULL, can it? X-Git-Tag: curl-7_10_8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a717afc3a7e2649987cd276c500dae73990f6f91;p=thirdparty%2Fcurl.git gmtime() really can't even return NULL, can it? --- diff --git a/lib/http.c b/lib/http.c index 4543faee89..9d01ef87a9 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" */