mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Small debug message improvements, to show if a new target was successfully added.
This commit is contained in:
parent
4023ed2021
commit
4bec98f23f
1 changed files with 4 additions and 2 deletions
|
|
@ -602,10 +602,12 @@ unsigned long NewTargets::push (const char *target) {
|
|||
queue.push(tg);
|
||||
|
||||
if (o.debugging > 2)
|
||||
log_write(LOG_PLAIN, "New target %s pushed onto the queue.\n", tg.c_str());
|
||||
log_write(LOG_PLAIN, "New Targets: target %s pushed onto the queue.\n",
|
||||
tg.c_str());
|
||||
} else {
|
||||
if (o.debugging > 2)
|
||||
log_write(LOG_PLAIN, "Target %s is already in the queue.\n", tg.c_str());
|
||||
log_write(LOG_PLAIN, "New Targets: target %s is already in the queue.\n",
|
||||
tg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue