aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event_loop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event_loop.c b/src/event_loop.c
index b26d424..de7fbf1 100644
--- a/src/event_loop.c
+++ b/src/event_loop.c
@@ -153,6 +153,10 @@ static char *events_to_string(short events)
ptr = append_event(buf, sz, ptr, "POLLERR");
if (events & POLLHUP)
ptr = append_event(buf, sz, ptr, "POLLHUP");
+ if (events & POLLRDHUP)
+ ptr = append_event(buf, sz, ptr, "POLLRDHUP");
+ if (events & POLLPRI)
+ ptr = append_event(buf, sz, ptr, "POLLPRI");
if (events & POLLIN)
ptr = append_event(buf, sz, ptr, "POLLIN");
if (events & POLLOUT)