mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
Fixed a couple formatting bugs in the smb-* libraries that come up when debugging/verbose is disabled
This commit is contained in:
@@ -494,7 +494,14 @@ function format_output(status, data, indent)
|
||||
return nil
|
||||
end
|
||||
|
||||
return format_output_sub(status, data, indent)
|
||||
local result = format_output_sub(status, data, indent)
|
||||
|
||||
-- Check for an empty result
|
||||
if(result == nil or #result == "" or result == "\n" or result == " \n") then
|
||||
return nil
|
||||
end
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
--- This function allows you to create worker threads that may perform
|
||||
|
||||
Reference in New Issue
Block a user