1
0
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:
nnposter
2019-02-05 01:19:15 +00:00
parent 6dbce29031
commit 2945b041ea

View File

@@ -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