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