aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-03-11 18:07:03 +0100
committerKim Alvefur <zash@zash.se>2020-03-11 18:07:03 +0100
commit39bfc042b07e19a77502c5991645d4d21664b76c (patch)
tree2a8ba179ee506679223f6158fb7ffdea9484a24a /net/server_epoll.lua
parent62d90ddef1bf76035171dbb4ca79345979245de6 (diff)
downloadprosody-39bfc042b07e19a77502c5991645d4d21664b76c.tar.gz
prosody-39bfc042b07e19a77502c5991645d4d21664b76c.zip
net.server_epoll: Fix indentation
Some lines seem to have gotten the wrong indentation, possibly caused by Meld which often ignores lines with only whitespace changes and leaves their previous indentation.
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 0c03ae15..2182d56a 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -102,7 +102,7 @@ local function runtimers(next_delay, min_wait)
if peek > now then
next_delay = peek - now;
break;
- end
+ end
local _, timer, id = timers:pop();
local ok, ret = pcall(timer[2], now);
@@ -110,10 +110,10 @@ local function runtimers(next_delay, min_wait)
local next_time = now+ret;
timer[1] = next_time;
timers:insert(timer, next_time);
- end
+ end
peek = timers:peek();
- end
+ end
if peek == nil then
return next_delay;
end