diff options
author | Kim Alvefur <zash@zash.se> | 2019-09-29 17:30:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-09-29 17:30:54 +0200 |
commit | dc32ede2ae2e074f6246822f9a05a2ab65685757 (patch) | |
tree | 2f3d065679415e61ad97d256054c25686a06f70a | |
parent | 5ea3c0e75847b74ac1aa616d20a5f5886b0e768a (diff) | |
download | prosody-dc32ede2ae2e074f6246822f9a05a2ab65685757.tar.gz prosody-dc32ede2ae2e074f6246822f9a05a2ab65685757.zip |
net.server_epoll: Correct indentation
-rw-r--r-- | net/server_epoll.lua | 4 |
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); |