projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid epoll_ctl(..., EPOLL_CTL_DEL, ...) for closed fds.
[srvx.git]
/
src
/
ioset-select.c
diff --git
a/src/ioset-select.c
b/src/ioset-select.c
index 64afa0fd37dc89a7afb3094d2a3539da4a3925d3..8ece1286318a101898a38eb257544880c6291ff2 100644
(file)
--- a/
src/ioset-select.c
+++ b/
src/ioset-select.c
@@
-57,10
+57,11
@@
ioset_select_add(struct io_fd *fd)
}
static void
-ioset_select_remove(struct io_fd *fd)
+ioset_select_remove(struct io_fd *fd
, int closed
)
{
FD_CLR(fd->fd, &read_fds);
FD_CLR(fd->fd, &write_fds);
+ (void)closed;
}
static void