diff options
author | Yang Tse <yangsita@gmail.com> | 2007-03-26 23:23:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-03-26 23:23:46 +0000 |
commit | fba4cd0e625cdba3561b3530317ba87ae348aeaf (patch) | |
tree | 0b245f00a4f21478d863db7cdd49a92797ee8cf9 /lib/ssluse.c | |
parent | 2166645ce4091b14ef6fd25c594d184c4f700ba5 (diff) | |
download | curl-fba4cd0e625cdba3561b3530317ba87ae348aeaf.tar.gz |
Internal function Curl_select() renamed to Curl_socket_ready()
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 593f23857..dca894770 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -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; |