Software /
code /
prosody
Changeset
5961:5745bb2b6890
net/server_select: Fix typo
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 18 Dec 2013 18:06:33 -0500 |
parents | 5960:2a6edd4678c5 |
children | 5962:27eacbb6e71f |
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 @@ -934,7 +934,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"