From ce8c422f7de1fba8a1b99216eed417d121396d4c Mon Sep 17 00:00:00 2001 From: batrick Date: Wed, 24 Nov 2010 21:05:13 +0000 Subject: [PATCH] Fixed debug format. --- nse_main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nse_main.lua b/nse_main.lua index e08bb9a1b..342946527 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -749,7 +749,7 @@ local function run (threads_iter, scantype) for co, thread in pairs(waiting) do if thread:timed_out() then waiting[co], all[co], num_threads = nil, nil, num_threads-1; - thread:d("%THREAD %stimed out", thread.host + thread:d("%THREAD %s timed out", thread.host and format("%s%s ", thread.host.ip, thread.port and ":"..thread.port.number or "") or "");