Changeset

10681:e531273341d3 0.11

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.
author Kim Alvefur <zash@zash.se>
date Wed, 11 Mar 2020 18:07:03 +0100
parents 10672:657e61531b33
children 10682:62ef68f95b6f
files net/server_epoll.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_epoll.lua	Thu Feb 27 20:01:54 2020 +0100
+++ b/net/server_epoll.lua	Wed Mar 11 18:07:03 2020 +0100
@@ -102,7 +102,7 @@
 		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 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