Diff

net/server_event.lua @ 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
parent 6858:d8f8c0b2fda8
child 6860:153a2e49c4f7
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