From b005b9dea7b5727e92d97b9ef187ede2da326056 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 30 Aug 2007 03:24:52 +0000 Subject: [PATCH] Make the "Moving to completed hosts list" message require o.debugging > 1. This was somehow missed in the merge. --- scan_engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan_engine.cc b/scan_engine.cc index 03ea6c657..6c2f07b40 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -1520,13 +1520,13 @@ int UltraScanInfo::removeCompletedHosts() { hss->target->targetipstr(), scantype2str(scantype), remain, (remain == 1)? "host left" : "hosts left"); } - if (o.debugging) { + if (o.debugging > 1) { unsigned int num_outstanding_probes; num_outstanding_probes = hss->probes_outstanding.size(); log_write(LOG_PLAIN, "Moving %s to completed hosts list with %d outstanding %s.\n", hss->target->targetipstr(), num_outstanding_probes, num_outstanding_probes == 1 ? "probe" : "probes"); - if (o.debugging > 1) { + if (o.debugging > 2) { char tmpbuf[32]; std::list::iterator iter; for (iter = hss->probes_outstanding.begin(); iter != hss->probes_outstanding.end(); iter++)