Software /
code /
prosody
Comparison
net/server.lua @ 1036:b2e19c66ec7f
net.server: Fix incorrect parameter passing
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Apr 2009 20:19:33 +0100 |
parent | 1035:8cc7e4452b2b |
child | 1039:cc4280f45d0e |
comparison
equal
deleted
inserted
replaced
1035:8cc7e4452b2b | 1036:b2e19c66ec7f |
---|---|
793 client:settimeout( 0 ) | 793 client:settimeout( 0 ) |
794 _, err = client:connect( address, port ) | 794 _, err = client:connect( address, port ) |
795 if err then -- try again | 795 if err then -- try again |
796 local handler = wrapclient( client, address, port, listeners ) | 796 local handler = wrapclient( client, address, port, listeners ) |
797 else | 797 else |
798 wrapconnection( server, listeners, socket, address, port, "clientport", pattern, sslctx, startssl ) | 798 wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl ) |
799 end | 799 end |
800 end | 800 end |
801 | 801 |
802 --// EXPERIMENTAL //-- | 802 --// EXPERIMENTAL //-- |
803 | 803 |