mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Keep a local function local
This commit is contained in:
parent
46fe5228f4
commit
c0a01aa7e1
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ local ELEMENTS = {["Type"] = "Type",
|
|||
["string"] = "SOAPACTIONS",
|
||||
["SubDeviceURLs"] = "Sub Device URLs"}
|
||||
|
||||
function get_text_callback(store, name)
|
||||
local function get_text_callback(store, name)
|
||||
if ELEMENTS[name] == nil then return end
|
||||
name = ELEMENTS[name]
|
||||
if name == 'SOAPACTIONS' or name == 'Sub Device URLs' or name == 'Type' then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue