Stupid bug in http.lua.

This commit is contained in:
Diego Nehab 2005-06-12 22:02:21 +00:00
parent b22f6f3830
commit 8b114f3bf4
12 changed files with 78 additions and 73 deletions

View file

@ -70,7 +70,7 @@ end
local check_headers = function(sent, got)
sent = sent or {}
got = got or {}
for i,v in sent do
for i,v in pairs(sent) do
if not similar(v, got[i]) then fail("header " .. v .. "failed!") end
end
end