Software /
code /
prosody
Changeset
6815:46546d57f639
net/server_select: Fix typo
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 18 Dec 2013 18:06:33 -0500 |
parents | 6814:936f969bf783 |
children | 6816:36367fb1ecf9 |
files | net/server_select.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Wed Dec 18 17:55:03 2013 -0500 +++ b/net/server_select.lua Wed Dec 18 18:06:33 2013 -0500 @@ -946,7 +946,7 @@ 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"