From 18b2a4391fe8d442e917f5b2c2f26b18ec9374ac Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 4 Mar 2021 22:22:28 +0100 Subject: Partially implementd writing --- plop.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plop.c') diff --git a/plop.c b/plop.c index 34c8d06..6c2717b 100644 --- a/plop.c +++ b/plop.c @@ -164,14 +164,6 @@ int plop_handle_client(lua_State * L, struct epoll_event * event) { case LUA_OK: { - int n = lua_gettop(c->L); - - if (0 == n) - { - lua_pushnil(c->L); - } - - response_send(c->L, c->fd); connection_free(L, c); return 0; } -- cgit v1.1