# HG changeset patch # User Matthew Wild # Date 1240427973 -3600 # Node ID b2e19c66ec7f9d919d8d24877da328b903280262 # Parent 8cc7e4452b2b4011f982679e64168c318ef34375 net.server: Fix incorrect parameter passing diff -r 8cc7e4452b2b -r b2e19c66ec7f net/server.lua --- a/net/server.lua Wed Apr 22 20:19:04 2009 +0100 +++ b/net/server.lua Wed Apr 22 20:19:33 2009 +0100 @@ -795,7 +795,7 @@ 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