diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-25 17:55:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-25 17:55:06 +0200 |
commit | 5e13a9ffc05da289608140853490ddfe0296748c (patch) | |
tree | 67ebca62281435c7dc6d4cad7ab3744ddedfb8ea | |
parent | 0da792c4565b53e9d81fa0944abb9a908e078e55 (diff) | |
download | prosody-5e13a9ffc05da289608140853490ddfe0296748c.tar.gz prosody-5e13a9ffc05da289608140853490ddfe0296748c.zip |
server_event: Put function keyword on same line as the coroutine.wrap it's being passed to
-rw-r--r-- | net/server_event.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 2f2df1a1..c3a79599 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -157,8 +157,7 @@ function interface_mt:_start_ssl(call_onconnect) -- old socket will be destroyed return false end self.conn:settimeout( 0 ) -- set non blocking - local handshakecallback = coroutine_wrap( - function( event ) + local handshakecallback = coroutine_wrap(function( event ) local _, err local attempt = 0 local maxattempt = cfg.MAX_HANDSHAKE_ATTEMPTS |