From 5e362ac43d5de7a17f51a178fdfede2792475d9e Mon Sep 17 00:00:00 2001 From: batrick Date: Sat, 15 Aug 2009 14:57:52 +0000 Subject: [PATCH] Changed a global variable to a local to avoid an error from the strict module. --- scripts/http-enum.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/http-enum.nse b/scripts/http-enum.nse index ebdc7380f..e3de5e46a 100644 --- a/scripts/http-enum.nse +++ b/scripts/http-enum.nse @@ -134,7 +134,7 @@ action = function(host, port) all = http.pGet( host, port, combination.checkdir, nil, nil, all ) end - results = http.pipeline(host, port, all, nil) + local results = http.pipeline(host, port, all, nil) for i, data in pairs( results ) do @@ -166,7 +166,7 @@ action = function(host, port) end end - results = http.pipeline(host, port, all, nil) + local results = http.pipeline(host, port, all, nil) for i, data in pairs( results ) do