net.server_epoll: Fix indentation 0.11
authorKim Alvefur <zash@zash.se>
Wed, 11 Mar 2020 18:07:03 +0100
branch0.11
changeset 10685 e531273341d3
parent 10676 657e61531b33
child 10686 62ef68f95b6f
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.
net/server_epoll.lua
--- 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