diff options
Diffstat (limited to 'src/kqueue.cpp')
-rw-r--r-- | src/kqueue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kqueue.cpp b/src/kqueue.cpp index 046cbc7..62b443f 100644 --- a/src/kqueue.cpp +++ b/src/kqueue.cpp @@ -173,15 +173,15 @@ void xs::kqueue_t::loop () if (pe->fd == retired_fd) continue; if (ev_buf [i].flags & EV_EOF) - pe->reactor->in_event (); + pe->reactor->in_event (pe->fd); if (pe->fd == retired_fd) continue; if (ev_buf [i].filter == EVFILT_WRITE) - pe->reactor->out_event (); + pe->reactor->out_event (pe->fd); if (pe->fd == retired_fd) continue; if (ev_buf [i].filter == EVFILT_READ) - pe->reactor->in_event (); + pe->reactor->in_event (pe->fd); } // Destroy retired event sources. |