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
commit9fbc33dd6815232fe172ca7db51d0e509a741888 (patch)
treecfb3556d630220cf13b489e202f2a867a12e377a
parent7bdedfb4f7bb033624a82bfb64c8d3e6e2541db8 (diff)
downloadprosody-9fbc33dd6815232fe172ca7db51d0e509a741888.tar.gz
prosody-9fbc33dd6815232fe172ca7db51d0e509a741888.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