aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 17:56:21 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 17:56:21 +0200
commite80179ba6e0ca23afc13fa2c723dbd5815bab5a5 (patch)
tree9e19f4c2ed343a19f272e35dfae3e127b62c2da7 /net/server_event.lua
parent5e13a9ffc05da289608140853490ddfe0296748c (diff)
downloadprosody-e80179ba6e0ca23afc13fa2c723dbd5815bab5a5.tar.gz
prosody-e80179ba6e0ca23afc13fa2c723dbd5815bab5a5.zip
server_event: Fix indentation
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index c3a79599..ec8af2a4 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -391,11 +391,11 @@ function interface_mt:starttls(sslctx, call_onconnect)
self:_lock( true, true, true ) -- lock the interface, to not disturb the handshake
self.eventstarthandshake = addevent( base, nil, EV_TIMEOUT, self.startsslcallback, 0 ) -- add event to start handshake
else -- wait until writebuffer is empty
- self:_lock( true, true, false )
- debug "ssl session delayed until writebuffer is empty..."
-end
-self.starttls = false;
-return true
+ self:_lock( true, true, false )
+ debug "ssl session delayed until writebuffer is empty..."
+ end
+ self.starttls = false;
+ return true
end
function interface_mt:setoption(option, value)