aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-02 22:55:42 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-02 22:55:42 +0500
commit126964d60d51cfb6430bba3208ffd94600d4a7a7 (patch)
tree0e16391bc1a3002eba00ab1db250c85bace8e83a
parentad58924b057a520b9aa9f4f49ae019bc083f7c41 (diff)
downloadprosody-126964d60d51cfb6430bba3208ffd94600d4a7a7.tar.gz
prosody-126964d60d51cfb6430bba3208ffd94600d4a7a7.zip
net.server_select: Made some globals local.
-rw-r--r--net/server_select.lua3
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