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:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user