aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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 61919863..71db5006 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -946,7 +946,7 @@ local addclient = function( address, port, listeners, pattern, sslctx )
local err
if type( listeners ) ~= "table" then
err = "invalid listener table"
- elseif type ( addr ) ~= "string" then
+ elseif type ( address ) ~= "string" then
err = "invalid address"
elseif type( port ) ~= "number" or not ( port >= 0 and port <= 65535 ) then
err = "invalid port"