From bbd191b78e730a8e55eb81183541bc79dd1430de Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 22 Apr 2009 20:19:33 +0100 Subject: net.server: Fix incorrect parameter passing --- net/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/server.lua b/net/server.lua index 5dcda88c..a0d28874 100644 --- a/net/server.lua +++ b/net/server.lua @@ -795,7 +795,7 @@ local addclient = function( address, port, listeners, pattern, sslctx, startssl if err then -- try again local handler = wrapclient( client, address, port, listeners ) else - wrapconnection( server, listeners, socket, address, port, "clientport", pattern, sslctx, startssl ) + wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl ) end end -- cgit v1.2.3