Software /
code /
prosody
Diff
net/server_select.lua @ 6815:46546d57f639
net/server_select: Fix typo
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 18 Dec 2013 18:06:33 -0500 |
parent | 6814:936f969bf783 |
child | 6818:ae9d1289a868 |
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"