Diff

net/server_epoll.lua @ 10289:8c59b20f71dc

net.server_epoll: Correct indentation
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 17:30:54 +0200
parent 10285:bcf61e22f841
child 10300:78f2a3a9c537
line wrap: on
line diff
--- a/net/server_epoll.lua	Sun Sep 29 17:07:39 2019 +0200
+++ b/net/server_epoll.lua	Sun Sep 29 17:30:54 2019 +0200
@@ -795,10 +795,10 @@
 	from:debug("Linking to %s", to.id);
 	function from:onincoming(data)
 		self:pause();
-			to:write(data);
+		to:write(data);
 	end
 	function to:ondrain() -- luacheck: ignore 212/self
-			from:resume();
+		from:resume();
 	end
 	from:set_mode(read_size);
 	from:set(true, nil);