Changeset

10289:8c59b20f71dc

net.server_epoll: Correct indentation
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 17:30:54 +0200
parents 10288:f36f7d2c269b
children 10290:b2ce3300f26a
files net/server_epoll.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);