1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 07:59:03 +00:00

Making extra functions in my HTTPpasswd.nse and HTTPtrace.nse scripts 'local'. I mark my C functions static, so I'll mark my Lua ones local

This commit is contained in:
kris
2007-09-15 02:44:15 +00:00
parent c3b2e9af3f
commit 0aaa51980d
2 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ categories = {"discovery"}
require "shortport"
require "stdnse"
truncate = function(tab)
local truncate = function(tab)
local str = ""
str = str .. tab[1] .. "\n"
str = str .. tab[2] .. "\n"
@@ -31,7 +31,7 @@ truncate = function(tab)
return str
end
validate = function(response, original)
local validate = function(response, original)
local start, stop
local body