From ff8c8484b04d8fbb4c04a96f48e2e4dde8602b88 Mon Sep 17 00:00:00 2001 From: jah Date: Fri, 20 Feb 2015 04:27:28 +0000 Subject: [PATCH] Revert revision 34034 from nmap/nse_main.lua: Fix the creation of the thread.info property. --- nse_main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nse_main.lua b/nse_main.lua index 591420261..4ecaed8f5 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -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, };