From 3d5a8515a6fc487e08e93caca9e45e1e13fa8f78 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 29 Mar 2007 00:11:55 +0000 Subject: fix error introduced in last commit --- lib/select.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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)) -- cgit v1.2.3