From c5a111c5b98ccf385db7750b765495879ba58b23 Mon Sep 17 00:00:00 2001 From: ron Date: Wed, 3 Nov 2010 19:50:25 +0000 Subject: [PATCH] Removed an errant '\n' that was causing blank lines --- scripts/nbstat.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nbstat.nse b/scripts/nbstat.nse index 5ed58de9b..34e3e9434 100644 --- a/scripts/nbstat.nse +++ b/scripts/nbstat.nse @@ -134,7 +134,7 @@ action = function(host) for i = 1, #names, 1 do local padding = string.rep(" ", 17 - string.len(names[i]['name'])) local flags_str = netbios.flags_to_string(names[i]['flags']) - table.insert(names_output, string.format("%s<%02x>%sFlags: %s\n", names[i]['name'], names[i]['suffix'], padding, flags_str)) + table.insert(names_output, string.format("%s<%02x>%sFlags: %s", names[i]['name'], names[i]['suffix'], padding, flags_str)) end table.insert(response, names_output)