1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 21:21:31 +00:00

Replace some print calls with proper debug functions. See #1774

This commit is contained in:
dmiller
2019-10-07 03:13:09 +00:00
parent 1ae88d2620
commit edb130e908
3 changed files with 6 additions and 6 deletions

View File

@@ -542,9 +542,10 @@ UrlQueue = {
end,
-- dumps the contents of the UrlQueue
dump = function(self)
dump = function(self, printer)
printer = printer or print
for _, url in ipairs(self.urls) do
print("url:", url)
printer("url:", url)
end
end,