mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 07:29:03 +00:00
Small debug message improvements, to show if a new target was successfully added.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user