Diff

net/server_event.lua @ 6860:153a2e49c4f7

server_event: Fix indentation
author Kim Alvefur <zash@zash.se>
date Fri, 25 Sep 2015 17:56:21 +0200
parent 6859:88a997e08b70
child 6861:39789f1669cb
child 7040:bdcea2dd33b8
line wrap: on
line diff
--- a/net/server_event.lua	Fri Sep 25 17:55:06 2015 +0200
+++ b/net/server_event.lua	Fri Sep 25 17:56:21 2015 +0200
@@ -391,11 +391,11 @@
 		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)