summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-03-04 22:22:28 +0100
committerAki <please@ignore.pl>2021-03-04 22:22:28 +0100
commit18b2a4391fe8d442e917f5b2c2f26b18ec9374ac (patch)
treeba96c3c1b5ad026b6a41dbc8356aba6b4f4c9a79 /plop.c
parent296fe762dd2207d4052c0d41c9186ac23922dd1d (diff)
downloadplop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.zip
plop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.tar.gz
plop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.tar.bz2
Partially implementd writing
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c8
1 files changed, 0 insertions, 8 deletions
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;
}