diff options
Diffstat (limited to 'plop.c')
-rw-r--r-- | plop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -195,7 +195,7 @@ int plop_handle_client(lua_State * L, struct epoll_event * event) int plop_handle_server(lua_State * L, const int efd, const int server) { struct epoll_event e; - e.events = EPOLLIN; // TODO: Add EPOLLOUT? + e.events = EPOLLIN | EPOLLOUT; // TODO: Add EPOLLHUP? const int client = accept(server, NULL, NULL); if (-1 == client) |