aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-31 21:43:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-31 21:43:22 +0000
commita717afc3a7e2649987cd276c500dae73990f6f91 (patch)
tree1e8727fe1635f97ab8549bfb1ec1eec45b55b390
parentf023b4cc79f5bedf550e3832dcf59654dcf7d6fe (diff)
gmtime() really can't even return NULL, can it?
-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" */