aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event_callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_callback.c b/src/event_callback.c
index 76a7789..b1cdd02 100644
--- a/src/event_callback.c
+++ b/src/event_callback.c
@@ -43,7 +43,7 @@ void luaevent_callback(int fd, short event, void* p) {
load_timeval(newTimeout, &cb->timeout);
}
}
- lua_pop(L, 1);
+ lua_pop(L, 2);
if(ret == -1) {
freeCallbackArgs(cb, L);
} else {