Loading lib/select.c +4 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,8 @@ static int wait_ms(int timeout_ms) * 0 = timeout * CURL_CSELECT_IN | CURL_CSELECT_OUT | CURL_CSELECT_ERR */ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) { #ifdef HAVE_POLL_FINE struct pollfd pfd[2]; Loading Loading @@ -468,7 +469,8 @@ int Curl_select(int nfds, SET_SOCKERRNO(EINVAL); return -1; } timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000); timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000); } else { timeout_ms = -1; Loading Loading
lib/select.c +4 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,8 @@ static int wait_ms(int timeout_ms) * 0 = timeout * CURL_CSELECT_IN | CURL_CSELECT_OUT | CURL_CSELECT_ERR */ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) { #ifdef HAVE_POLL_FINE struct pollfd pfd[2]; Loading Loading @@ -468,7 +469,8 @@ int Curl_select(int nfds, SET_SOCKERRNO(EINVAL); return -1; } timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000); timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000); } else { timeout_ms = -1; Loading