Internal function Curl_select() renamed to Curl_socket_ready()

This commit is contained in:
Yang Tse
2007-03-26 23:23:46 +00:00
parent 2166645ce4
commit fba4cd0e62
12 changed files with 25 additions and 22 deletions

View File

@@ -751,7 +751,7 @@ int Curl_ossl_shutdown(struct connectdata *conn, int sockindex)
if(connssl->handle) {
while(!done) {
int what = Curl_select(conn->sock[sockindex],
int what = Curl_socket_ready(conn->sock[sockindex],
CURL_SOCKET_BAD, SSL_SHUTDOWN_TIMEOUT);
if(what > 0) {
/* Something to read, let's do it and hope that it is the close
@@ -1728,7 +1728,7 @@ Curl_ossl_connect_common(struct connectdata *conn,
connssl->connecting_state?sockfd:CURL_SOCKET_BAD;
while(1) {
int what = Curl_select(readfd, writefd, nonblocking?0:(int)timeout_ms);
int what = Curl_socket_ready(readfd, writefd, nonblocking?0:(int)timeout_ms);
if(what > 0)
/* readable or writable, go loop in the outer loop */
break;