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