aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:49:38 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:49:38 +0800
commit8028f46d24916cea33e4057da0a8b118ac584712 (patch)
tree33f2270d5b435490939cf63a964e8b55ef947619
parentfdff62829125bd8350b8621f88fc58fe0332f05b (diff)
downloadprosody-8028f46d24916cea33e4057da0a8b118ac584712.tar.gz
prosody-8028f46d24916cea33e4057da0a8b118ac584712.zip
net.server_select: remove unused one-letter loop variable [luacheck]
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 85730e73..ce5cb3de 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -570,7 +570,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
local read, wrote
handshake = coroutine_wrap( function( client ) -- create handshake coroutine
local err
- for i = 1, _maxsslhandshake do
+ for _ = 1, _maxsslhandshake do
_sendlistlen = ( wrote and removesocket( _sendlist, client, _sendlistlen ) ) or _sendlistlen
_readlistlen = ( read and removesocket( _readlist, client, _readlistlen ) ) or _readlistlen
read, wrote = nil, nil