Changeset

1036:b2e19c66ec7f

net.server: Fix incorrect parameter passing
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Apr 2009 20:19:33 +0100
parents 1035:8cc7e4452b2b
children 1037:cb5fdce8dcec
files net/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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