diff options
Diffstat (limited to 'poll/unix')
-rw-r--r-- | poll/unix/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/port.c b/poll/unix/port.c index 1d2613df1..a4509ac8a 100644 --- a/poll/unix/port.c +++ b/poll/unix/port.c @@ -537,7 +537,7 @@ static apr_status_t impl_pollcb_poll(apr_pollcb_t *pollcb, { apr_pollfd_t *pollfd; apr_status_t rv; - unsigned int i, nget = pollcb->nalloc; + unsigned int i, nget = 1; rv = call_port_getn(pollcb->fd, pollcb->pollset.port, pollcb->nalloc, &nget, timeout); |