1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 13:19:01 +00:00

Changed 'pairs' to 'ipairs' when looping through the header (thanks to Patrick for pointing this out)

This commit is contained in:
ron
2009-08-27 21:35:52 +00:00
parent ceb10ffe29
commit 37507349a3

View File

@@ -82,7 +82,7 @@ action = function(host, port)
end
local response = "(" .. request_type .. " used)\n"
for _, header in pairs(result.rawheader) do
for _, header in ipairs(result.rawheader) do
response = response .. header .. "\n"
end