aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-29 17:30:54 +0200
committerKim Alvefur <zash@zash.se>2019-09-29 17:30:54 +0200
commit90d58b619e2533d796e20235cfcd750a55152bf5 (patch)
tree2f3d065679415e61ad97d256054c25686a06f70a /net/server_epoll.lua
parent2ad505a81f7dbb9be487fd51481d4d82120c26e3 (diff)
downloadprosody-90d58b619e2533d796e20235cfcd750a55152bf5.tar.gz
prosody-90d58b619e2533d796e20235cfcd750a55152bf5.zip
net.server_epoll: Correct indentation
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 3aa37ee6..ab513e93 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -795,10 +795,10 @@ local function link(from, to, read_size)
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);