chiark
/
gitweb
/
~ian
/
secnet.git
/ 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.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