projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove "wants_reads" field from struct io_fd.
[srvx.git]
/
src
/
ioset-select.c
diff --git
a/src/ioset-select.c
b/src/ioset-select.c
index d25738d906b8f14a2df4e0ed259afa34358a6faa..64afa0fd37dc89a7afb3094d2a3539da4a3925d3 100644
(file)
--- a/
src/ioset-select.c
+++ b/
src/ioset-select.c
@@
-118,8
+118,7
@@
ioset_select_loop(struct timeval *timeout)
if (!(fd = fds[nn]))
continue;
max_fd = nn;
- if (fd_wants_reads(fd))
- FD_SET(nn, &read_fds);
+ FD_SET(nn, &read_fds);
if (fd_wants_writes(fd))
FD_SET(nn, &write_fds);
}