diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 8e6f5e19f..74d6b78b9 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -329,7 +329,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, else fd_write = CURL_SOCKET_BAD; - select_res = Curl_select(fd_read, fd_write, 0); + select_res = Curl_socket_ready(fd_read, fd_write, 0); if(select_res == CSELECT_ERR) { failf(data, "select/poll returned error"); return CURLE_SEND_ERROR; @@ -1828,7 +1828,7 @@ Transfer(struct connectdata *conn) the timeout case and if we limit transfer speed we must make sure that this function doesn't transfer anything while in HOLD status. */ - switch (Curl_select(fd_read, fd_write, 1000)) { + switch (Curl_socket_ready(fd_read, fd_write, 1000)) { case -1: /* select() error, stop reading */ #ifdef EINTR /* The EINTR is not serious, and it seems you might get this more |