aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
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
commit19d29172e7cc156ad049ef67cbe32d4e67990e97 (patch)
tree67ebca62281435c7dc6d4cad7ab3744ddedfb8ea /net/server_event.lua
parent43333baf051132471dbd2ffb4a168ac5a7f0431a (diff)
downloadprosody-19d29172e7cc156ad049ef67cbe32d4e67990e97.tar.gz
prosody-19d29172e7cc156ad049ef67cbe32d4e67990e97.zip
server_event: Put function keyword on same line as the coroutine.wrap it's being passed to
Diffstat (limited to 'net/server_event.lua')
-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