diff options
Diffstat (limited to 'libev/ev_linuxaio.c')
-rw-r--r-- | libev/ev_linuxaio.c | 5 |
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) { |