diff options
author | Yang Tse <yangsita@gmail.com> | 2007-03-29 00:11:55 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-03-29 00:11:55 +0000 |
commit | 3d5a8515a6fc487e08e93caca9e45e1e13fa8f78 (patch) | |
tree | 53dabb6b8b9d0b53739325b0057117bd4f1935f8 | |
parent | 42a790520532d98b6e5b3e0c38e37fbae827069b (diff) |
fix error introduced in last commit
-rw-r--r-- | lib/select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/select.c b/lib/select.c index a2e80e21c..e39174f1a 100644 --- a/lib/select.c +++ b/lib/select.c @@ -237,6 +237,7 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_m ret |= CSELECT_IN; if (pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) ret |= CSELECT_ERR; + num++; } if (writefd != CURL_SOCKET_BAD) { if (pfd[num].revents & (POLLWRNORM|POLLOUT)) |