diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-07-14 18:49:38 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-07-14 18:49:38 +0800 |
commit | 7d5a4cde28eb242e17d5701239ba3e3a67c73516 (patch) | |
tree | 33f2270d5b435490939cf63a964e8b55ef947619 | |
parent | 848f1bb7d5e2fbeae44001ca7c2d54d56a72d7a0 (diff) | |
download | prosody-7d5a4cde28eb242e17d5701239ba3e3a67c73516.tar.gz prosody-7d5a4cde28eb242e17d5701239ba3e3a67c73516.zip |
net.server_select: remove unused one-letter loop variable [luacheck]
-rw-r--r-- | net/server_select.lua | 2 |
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 |