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

Revert revision 34034 from nmap/nse_main.lua:

Fix the creation of the thread.info property.
This commit is contained in:
jah
2015-02-20 04:27:28 +00:00
parent 836c6e25bc
commit ff8c8484b0

View File

@@ -467,7 +467,7 @@ do
co = co,
env = env,
identifier = tostring(co),
info = format("%s M:%s", self.id, match(tostring(co), "thread: (%x+)"));
info = format("%s M:%s", self.id, match(tostring(co), "0x(.*)"));
parent = nil, -- placeholder
script = self,
type = script_type,
@@ -485,7 +485,7 @@ do
args = pack(...),
close_handlers = {},
co = co,
info = format("%s W:%s", self.id, match(tostring(co), "thread: (%x+)"));
info = format("%s W:%s", self.id, match(tostring(co), "0x(.*)"));
parent = self,
worker = true,
};