projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46c329
)
net/server_select: Fix typo
author
daurnimator
<quae@daurnimator.com>
Wed, 18 Dec 2013 23:06:33 +0000
(18:06 -0500)
committer
daurnimator
<quae@daurnimator.com>
Wed, 18 Dec 2013 23:06:33 +0000
(18:06 -0500)
net/server_select.lua
patch
|
blob
|
history
diff --git
a/net/server_select.lua
b/net/server_select.lua
index 6191986340058c036ca5cce8d45f0aa236b060bd..71db5006bd7cc8e4fcc4f6769dbbf93e90b22e64 100644
(file)
--- 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 ( addr
ess
) ~= "string" then
err = "invalid address"
elseif type( port ) ~= "number" or not ( port >= 0 and port <= 65535 ) then
err = "invalid port"