aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/select.c b/lib/select.c
index 549da077c..40673ec9e 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -153,7 +153,7 @@ int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */
long timeout_ms) /* milliseconds to wait */
{
#ifdef HAVE_POLL_FINE
- struct pollfd pfd[2];
+ struct pollfd pfd[3];
int num;
#else
struct timeval pending_tv;