aboutsummaryrefslogtreecommitdiff
path: root/libev/ev_linuxaio.c
diff options
context:
space:
mode:
authorGravatar zfl9 <zfl9.com@gmail.com> 2020-05-04 10:38:32 +0800
committerGravatar zfl9 <zfl9.com@gmail.com> 2020-05-04 10:38:32 +0800
commit3547eaf8f9a1f675f9f0cb2452578e555af64d8c (patch)
treeade73bc18ce6a1c9d05ae8b8c5153a96413c09ea /libev/ev_linuxaio.c
parentreplace '%.o: %.c' with '.c.o:' (makefile) (diff)
downloaddns2tcp-3547eaf8f9a1f675f9f0cb2452578e555af64d8c.tar.gz
dns2tcp-3547eaf8f9a1f675f9f0cb2452578e555af64d8c.tar.bz2
dns2tcp-3547eaf8f9a1f675f9f0cb2452578e555af64d8c.zip
update libev to 4.33
Diffstat (limited to 'libev/ev_linuxaio.c')
-rw-r--r--libev/ev_linuxaio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libev/ev_linuxaio.c b/libev/ev_linuxaio.c
index 3e17850..4687a70 100644
--- a/libev/ev_linuxaio.c
+++ b/libev/ev_linuxaio.c
@@ -270,9 +270,8 @@ linuxaio_modify (EV_P_ int fd, int oev, int nev)
++anfd->egen;
}
- iocb->io.aio_buf =
- (nev & EV_READ ? POLLIN : 0)
- | (nev & EV_WRITE ? POLLOUT : 0);
+ iocb->io.aio_buf = (nev & EV_READ ? POLLIN : 0)
+ | (nev & EV_WRITE ? POLLOUT : 0);
if (nev)
{