mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Replace some print calls with proper debug functions. See #1774
This commit is contained in:
parent
1ae88d2620
commit
edb130e908
3 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue