mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Boolean values are legitimate keys
This commit is contained in:
parent
cd77d5f8dd
commit
8ecfc735bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue