diff options
Diffstat (limited to 'plop.c')
-rw-r--r-- | plop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ int handle_client(lua_State * L, struct pollfd * pfd, struct request ** request, lua_getglobal((*request)->lua, "Handler"); lua_insert((*request)->lua, 1); lua_pushlstring((*request)->lua, (*request)->data, (*request)->length); - lua_call((*request)->lua, 3, 1); + lua_call((*request)->lua, 4, 1); size_t length; const char * body = lua_tolstring((*request)->lua, -1, &length); |