1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Keep a local function local

This commit is contained in:
nnposter
2025-12-02 04:49:44 +00:00
parent 46fe5228f4
commit c0a01aa7e1

View File

@@ -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