Software /
code /
prosody
Changeset
5484:17ce73907c48
net.server_select: Normalize indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 17 Apr 2013 21:30:44 +0200 |
parents | 5482:f2631a14b953 |
children | 5485:5147eed0a42e |
files | net/server_select.lua |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Wed Apr 17 19:10:04 2013 +0200 +++ b/net/server_select.lua Wed Apr 17 21:30:44 2013 +0200 @@ -569,7 +569,7 @@ end out_put( "server.lua: ssl handshake error: ", tostring(err or "handshake too long") ) _ = handler and handler:force_close("ssl handshake failed") - return false, err -- handshake failed + return false, err -- handshake failed end ) end @@ -613,7 +613,7 @@ handler.readbuffer = handshake handler.sendbuffer = handshake - return handshake( socket ) -- do handshake + return handshake( socket ) -- do handshake end end @@ -629,10 +629,10 @@ if sslctx and luasec then out_put "server.lua: auto-starting ssl negotiation..." handler.autostart_ssl = true; - local ok, err = handler:starttls(sslctx); - if ok == false then - return nil, nil, err - end + local ok, err = handler:starttls(sslctx); + if ok == false then + return nil, nil, err + end end return handler, socket