Loading lib/hostares.c +2 −3 Original line number Diff line number Diff line Loading @@ -132,7 +132,6 @@ CURLcode Curl_is_resolved(struct connectdata *conn, { fd_set read_fds, write_fds; struct timeval tv={0,0}; int count; struct SessionHandle *data = conn->data; int nfds; Loading @@ -141,7 +140,7 @@ CURLcode Curl_is_resolved(struct connectdata *conn, nfds = ares_fds(data->state.areschannel, &read_fds, &write_fds); count = select(nfds, &read_fds, &write_fds, NULL, (void)select(nfds, &read_fds, &write_fds, NULL, (struct timeval *)&tv); /* Call ares_process() unconditonally here, even if we simply timed out Loading Loading
lib/hostares.c +2 −3 Original line number Diff line number Diff line Loading @@ -132,7 +132,6 @@ CURLcode Curl_is_resolved(struct connectdata *conn, { fd_set read_fds, write_fds; struct timeval tv={0,0}; int count; struct SessionHandle *data = conn->data; int nfds; Loading @@ -141,7 +140,7 @@ CURLcode Curl_is_resolved(struct connectdata *conn, nfds = ares_fds(data->state.areschannel, &read_fds, &write_fds); count = select(nfds, &read_fds, &write_fds, NULL, (void)select(nfds, &read_fds, &write_fds, NULL, (struct timeval *)&tv); /* Call ares_process() unconditonally here, even if we simply timed out Loading