Software /
code /
prosody
Diff
net/server_select.lua @ 5961:5745bb2b6890
net/server_select: Fix typo
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 18 Dec 2013 18:06:33 -0500 |
parent | 5960:2a6edd4678c5 |
child | 5965:99d55f12a26f |
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"