diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-12 20:25:02 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-12 20:25:02 +0100 |
commit | 86905bacbb245e4322ecef8f8eb37af05f9d80db (patch) | |
tree | 998113e317c20727c48d61634b5783a5b9068c2e /net/server.lua | |
parent | f0ac98b7892e16b50e7f6bbb66b128cf55266c0b (diff) | |
download | prosody-86905bacbb245e4322ecef8f8eb37af05f9d80db.tar.gz prosody-86905bacbb245e4322ecef8f8eb37af05f9d80db.zip |
net.server: Correct fix for SSL traceback earlier
Diffstat (limited to 'net/server.lua')
-rw-r--r-- | net/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua index 78f79b56..12502412 100644 --- a/net/server.lua +++ b/net/server.lua @@ -546,7 +546,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport socket:settimeout( 0 )
handler.readbuffer = handshake
handler.sendbuffer = handshake
- if not handshake( socket ) then -- do handshake
+ if not socket then -- do handshake
return nil, nil, "ssl handshake failed";
end
else
|