1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

merge soc07 r4989 - applied mathew boyle's patch for print_debug

This commit is contained in:
fyodor
2007-08-11 04:39:17 +00:00
parent 7652ebeefb
commit e988f4878d
3 changed files with 18 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ action = function(host, port)
if title ~= nil then
result = string.gsub(title , "[\n\r\t]", "")
if string.len(title) > 50 then
nmap.print_debug_unformatted("showHTMLTitle.nse: Title got truncated!");
nmap.print_debug("showHTMLTitle.nse: Title got truncated!");
result = string.sub(result, 1, 62) .. "..."
end
else