server_event: Put function keyword on same line as the coroutine.wrap it's being...
authorKim Alvefur <zash@zash.se>
Fri, 25 Sep 2015 15:55:06 +0000 (17:55 +0200)
committerKim Alvefur <zash@zash.se>
Fri, 25 Sep 2015 15:55:06 +0000 (17:55 +0200)
net/server_event.lua

index 2f2df1a1a3c6088969b9a4fe91b052d69c740574..c3a795991466222d9d5092a0a0c6bf26f3164c15 100644 (file)
@@ -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