mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Changed a global variable to a local to avoid an error from the strict
module.
This commit is contained in:
@@ -134,7 +134,7 @@ action = function(host, port)
|
|||||||
all = http.pGet( host, port, combination.checkdir, nil, nil, all )
|
all = http.pGet( host, port, combination.checkdir, nil, nil, all )
|
||||||
end
|
end
|
||||||
|
|
||||||
results = http.pipeline(host, port, all, nil)
|
local results = http.pipeline(host, port, all, nil)
|
||||||
|
|
||||||
for i, data in pairs( results ) do
|
for i, data in pairs( results ) do
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ action = function(host, port)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
results = http.pipeline(host, port, all, nil)
|
local results = http.pipeline(host, port, all, nil)
|
||||||
|
|
||||||
for i, data in pairs( results ) do
|
for i, data in pairs( results ) do
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user