From 5e13a9ffc05da289608140853490ddfe0296748c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 25 Sep 2015 17:55:06 +0200 Subject: server_event: Put function keyword on same line as the coroutine.wrap it's being passed to --- net/server_event.lua | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3