chiark / gitweb /
poll: Make handling of fds array actually dynamic
[secnet.git] / site.c
diff --git a/site.c b/site.c
index a35bb049ab9ff724ed6c2aa8c8f273cab9331695..a85333d9cee6ba63633148d1d9a9de2e68526db6 100644 (file)
--- a/site.c
+++ b/site.c
@@ -1598,7 +1598,7 @@ static int site_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
 {
     struct site *st=sst;
 
-    *nfds_io=0; /* We don't use any file descriptors */
+    BEFOREPOLL_WANT_FDS(0); /* We don't use any file descriptors */
     st->now=*now;
 
     /* Work out when our next timeout is. The earlier of 'timeout' or