Changeset

1039:cc4280f45d0e

net.server: Fix global access/incorrect parameter
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Apr 2009 20:33:24 +0100
parents 1038:90f663769b75
children 1040:4c79b28bce64
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:31:45 2009 +0100
+++ b/net/server.lua	Wed Apr 22 20:33:24 2009 +0100
@@ -795,7 +795,7 @@
     if err then    -- try again
         local handler = wrapclient( client, address, port, listeners )
     else
-        wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl )
+        wrapconnection( nil, listeners, client, address, port, "clientport", pattern, sslctx, startssl )
     end
 end