From 0f3dae441b5e1e8a444ae221e0f17bbfb493823a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 10 Jan 2021 14:54:03 +0100 Subject: net.server_epoll: Fix off-by-one in 2c559953ad41 Thanks tmolitor --- net/server_epoll.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/server_epoll.lua b/net/server_epoll.lua index e2be448c..53a67dd5 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -123,7 +123,7 @@ local function runtimers(next_delay, min_wait) if readd then for _, timer in pairs(readd) do - timers:insert(timer, timer[2]); + timers:insert(timer, timer[1]); end peek = timers:peek(); end -- cgit v1.2.3