mirror of
https://github.com/nmap/nmap.git
synced 2026-02-06 21:46:34 +00:00
Boolean values are legitimate keys
This commit is contained in:
@@ -41,7 +41,7 @@ tcopy_local = tcopy
|
||||
function shallow_tcopy(t)
|
||||
local k = next(t)
|
||||
local out = {}
|
||||
while k do
|
||||
while k ~= nil do
|
||||
out[k] = t[k]
|
||||
k = next(t, k)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user