From fba4cd0e625cdba3561b3530317ba87ae348aeaf Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 26 Mar 2007 23:23:46 +0000 Subject: Internal function Curl_select() renamed to Curl_socket_ready() --- lib/select.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/select.c') diff --git a/lib/select.c b/lib/select.c index 4e6c3046d..27f85fac8 100644 --- a/lib/select.c +++ b/lib/select.c @@ -84,8 +84,8 @@ /* * Internal function used for waiting a specific amount of ms - * in Curl_select() and Curl_poll() when no file descriptor is - * provided to wait on, just being used to delay execution. + * in Curl_socket_ready() and Curl_poll() when no file descriptor + * is provided to wait on, just being used to delay execution. * WinSock select() and poll() timeout mechanisms need a valid * socket descriptor in a not null file descriptor set to work. * Waiting indefinitely with this function is not allowed, a @@ -160,7 +160,7 @@ static int wait_ms(int timeout_ms) * 0 = timeout * CSELECT_IN | CSELECT_OUT | CSELECT_ERR */ -int Curl_select(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]; -- cgit v1.2.3