Removed an undeclared variable in http.lua.

This commit is contained in:
ron 2009-08-18 02:20:33 +00:00
parent 2204f79d57
commit f2ed53ebfc

View file

@ -841,7 +841,7 @@ function parseResult( response )
if type( result.status ) ~= "number" and type( body ) == "string" then
local code, remainder = body:match( "HTTP/%d\.%d (%d+)(.*)") -- The Reason-Phrase will be prepended to the body :(
if code then
stdnse.print_debug( "Interesting variation on the HTTP standard. Please submit a --script-trace output for this host (%s) to nmap-dev[at]insecure.org.", host )
stdnse.print_debug( "Interesting variation on the HTTP standard. Please submit a --script-trace output for this host to nmap-dev[at]insecure.org.")
result.status = tonumber(code)
body = remainder or body
end