diff --git a/nse_main.lua b/nse_main.lua index 342946527..e08bb9a1b 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 %s timed out", thread.host + thread:d("%THREAD %stimed out", thread.host and format("%s%s ", thread.host.ip, thread.port and ":"..thread.port.number or "") or "");