chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poll: Introduce and use BEFOREPOLL_WANT_FDS
[secnet]
/
site.c
diff --git
a/site.c
b/site.c
index d0755da2fdc3cc308e412ad7d060430c0b7bec97..abbaa1e594e655b8124e09feefd38fb9884c027e 100644
(file)
--- a/
site.c
+++ b/
site.c
@@
-1600,7
+1600,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