diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-02 22:55:42 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-02 22:55:42 +0500 |
commit | 126964d60d51cfb6430bba3208ffd94600d4a7a7 (patch) | |
tree | 0e16391bc1a3002eba00ab1db250c85bace8e83a /net/server_select.lua | |
parent | ad58924b057a520b9aa9f4f49ae019bc083f7c41 (diff) | |
download | prosody-126964d60d51cfb6430bba3208ffd94600d4a7a7.tar.gz prosody-126964d60d51cfb6430bba3208ffd94600d4a7a7.zip |
net.server_select: Made some globals local.
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index a7081f81..5ca54aea 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -32,6 +32,7 @@ local STAT_UNIT = 1 -- byte local type = use "type" local pairs = use "pairs" local ipairs = use "ipairs" +local tonumber = use "tonumber" local tostring = use "tostring" local collectgarbage = use "collectgarbage" @@ -127,6 +128,8 @@ local _timer local _maxclientsperserver +local _maxsslhandshake + ----------------------------------// DEFINITION //-- _server = { } -- key = port, value = table; list of listening servers |