summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plop.c b/plop.c
index 16cad9c..9b6d8f5 100644
--- a/plop.c
+++ b/plop.c
@@ -157,7 +157,8 @@ int plop_handle_client(lua_State * L, struct epoll_event * event)
nargs = 1;
}
- int result = lua_resume(c->L, NULL, nargs);
+ int nresults = 0;
+ int result = lua_resume(c->L, NULL, nargs, &nresults);
switch (result)
{