aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c4
1 files changed, 0 insertions, 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" */