mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix misplaced parentheses. Closes #2544
This commit is contained in:
@@ -88,7 +88,7 @@ local function split(domain)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function join(components)
|
local function join(components)
|
||||||
return table.concat(remove_empty(components, "."))
|
return table.concat(remove_empty(components), ".")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Remove the first component of a domain name. Return nil if the number of
|
-- Remove the first component of a domain name. Return nil if the number of
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ local function split(domain)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function join(components)
|
local function join(components)
|
||||||
return table.concat(remove_empty(components, "."))
|
return table.concat(remove_empty(components), ".")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Remove the first component of a domain name. Return nil if the number of
|
-- Remove the first component of a domain name. Return nil if the number of
|
||||||
|
|||||||
Reference in New Issue
Block a user