aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-12 20:25:02 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-12 20:25:02 +0100
commit86905bacbb245e4322ecef8f8eb37af05f9d80db (patch)
tree998113e317c20727c48d61634b5783a5b9068c2e /net
parentf0ac98b7892e16b50e7f6bbb66b128cf55266c0b (diff)
downloadprosody-86905bacbb245e4322ecef8f8eb37af05f9d80db.tar.gz
prosody-86905bacbb245e4322ecef8f8eb37af05f9d80db.zip
net.server: Correct fix for SSL traceback earlier
Diffstat (limited to 'net')
-rw-r--r--net/server.lua2
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