mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 14:28:21 +01:00
Merge pull request #211 from fperrad/patch-1
fix for Lua 5.3 built without number / string conversion
This commit is contained in:
commit
865356f6eb
@ -193,7 +193,7 @@ function _M.build(parsed)
|
||||
if string.find(authority, ":") then -- IPv6?
|
||||
authority = "[" .. authority .. "]"
|
||||
end
|
||||
if parsed.port then authority = authority .. ":" .. parsed.port end
|
||||
if parsed.port then authority = authority .. ":" .. base.tostring(parsed.port) end
|
||||
local userinfo = parsed.userinfo
|
||||
if parsed.user then
|
||||
userinfo = parsed.user
|
||||
|
Loading…
Reference in New Issue
Block a user