projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9ef7a
)
server_event: Put function keyword on same line as the coroutine.wrap it's being...
author
Kim Alvefur
<zash@zash.se>
Fri, 25 Sep 2015 15:55:06 +0000
(17:55 +0200)
committer
Kim Alvefur
<zash@zash.se>
Fri, 25 Sep 2015 15:55:06 +0000
(17:55 +0200)
net/server_event.lua
patch
|
blob
|
history
diff --git
a/net/server_event.lua
b/net/server_event.lua
index 2f2df1a1a3c6088969b9a4fe91b052d69c740574..c3a795991466222d9d5092a0a0c6bf26f3164c15 100644
(file)
--- a/
net/server_event.lua
+++ b/
net/server_event.lua
@@
-157,8
+157,7
@@
function interface_mt:_start_ssl(call_onconnect) -- old socket will be destroyed
return false
end
self.conn:settimeout( 0 ) -- set non blocking
- local handshakecallback = coroutine_wrap(
- function( event )
+ local handshakecallback = coroutine_wrap(function( event )
local _, err
local attempt = 0
local maxattempt = cfg.MAX_HANDSHAKE_ATTEMPTS