aboutsummaryrefslogtreecommitdiffstats
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
commit777da29e5904b91277b087f2ee207545671edf03 (patch)
tree9e19f4c2ed343a19f272e35dfae3e127b62c2da7
parent19d29172e7cc156ad049ef67cbe32d4e67990e97 (diff)
downloadprosody-777da29e5904b91277b087f2ee207545671edf03.tar.gz
prosody-777da29e5904b91277b087f2ee207545671edf03.zip
server_event: Fix indentation
-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)