Changeset

6859:88a997e08b70

server_event: Put function keyword on same line as the coroutine.wrap it's being passed to
author Kim Alvefur <zash@zash.se>
date Fri, 25 Sep 2015 17:55:06 +0200
parents 6858:d8f8c0b2fda8
children 6860:153a2e49c4f7
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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