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/gtls.c | |
parent | 2166645ce4091b14ef6fd25c594d184c4f700ba5 (diff) |
Internal function Curl_select() renamed to Curl_socket_ready()
Diffstat (limited to 'lib/gtls.c')
-rw-r--r-- | lib/gtls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gtls.c b/lib/gtls.c index 3413a0709..3393a34ff 100644 --- a/lib/gtls.c +++ b/lib/gtls.c @@ -161,7 +161,7 @@ static CURLcode handshake(struct connectdata *conn, return CURLE_OPERATION_TIMEOUTED; } - rc = Curl_select(conn->sock[sockindex], + rc = Curl_socket_ready(conn->sock[sockindex], conn->sock[sockindex], (int)timeout_ms); if(rc > 0) /* reabable or writable, go loop*/ @@ -535,7 +535,7 @@ int Curl_gtls_shutdown(struct connectdata *conn, int sockindex) if(conn->ssl[sockindex].session) { 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 |