commit | a717afc3a7e2649987cd276c500dae73990f6f91 | [log] [tgz] |
---|---|---|
author | Daniel Stenberg <daniel@haxx.se> | Fri Oct 31 21:43:22 2003 +0000 |
committer | Daniel Stenberg <daniel@haxx.se> | Fri Oct 31 21:43:22 2003 +0000 |
tree | 1e8727fe1635f97ab8549bfb1ec1eec45b55b390 | |
parent | f023b4cc79f5bedf550e3832dcf59654dcf7d6fe [diff] |
gmtime() really can't even return NULL, can it?
diff --git a/lib/http.c b/lib/http.c index 4543fae..9d01ef8 100644 --- a/lib/http.c +++ b/lib/http.c
@@ -1381,10 +1381,6 @@ #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" */