summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plop.c b/plop.c
index 5e25f00..16cad9c 100644
--- a/plop.c
+++ b/plop.c
@@ -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)