mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 14:28:21 +01:00
fix for Lua 5.3 built without number / string conversion
This kind of Lua could be built with this command: ``` hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N" ```
This commit is contained in:
parent
29e5ad610a
commit
16bb548746
@ -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