aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 17:55:06 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 17:55:06 +0200
commit5e13a9ffc05da289608140853490ddfe0296748c (patch)
tree67ebca62281435c7dc6d4cad7ab3744ddedfb8ea
parent0da792c4565b53e9d81fa0944abb9a908e078e55 (diff)
downloadprosody-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.lua3
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