Small debug message improvements, to show if a new target was successfully added.

This commit is contained in:
djalal 2010-09-06 21:02:38 +00:00
parent 4023ed2021
commit 4bec98f23f

View file

@ -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());
}
}