Commit a717afc3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

gmtime() really can't even return NULL, can it?

parent f023b4cc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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" */