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

The select() timeout is better not static since some implementation actually

might change it. I don't *think* it does it when the timeout is 0,0 but it
is better to be sure...
parent 27fd5d6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -478,7 +478,7 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
                          struct Curl_dns_entry **dns)
{
  fd_set read_fds, write_fds;
  static const struct timeval tv={0,0};
  struct timeval tv={0,0};
  int count;
  struct SessionHandle *data = conn->data;
  int nfds;