# HG changeset patch # User Kim Alvefur # Date 1443196506 -7200 # Node ID 88a997e08b70a9c94c9611b02caa4b3f9ac06b08 # Parent d8f8c0b2fda829697a46de66b7a608fc56b0a9eb server_event: Put function keyword on same line as the coroutine.wrap it's being passed to diff -r d8f8c0b2fda8 -r 88a997e08b70 net/server_event.lua --- a/net/server_event.lua Fri Sep 25 17:43:21 2015 +0200 +++ b/net/server_event.lua Fri Sep 25 17:55:06 2015 +0200 @@ -157,8 +157,7 @@ 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