mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 23:49:03 +00:00
Boolean values are legitimate keys
This commit is contained in:
@@ -81,7 +81,7 @@ end
|
||||
function keys(t)
|
||||
local ret = {}
|
||||
local k, v = next(t)
|
||||
while k do
|
||||
while k ~= nil do
|
||||
ret[#ret+1] = k
|
||||
k, v = next(t, k)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user