From a2cbf0cef466f39b2b7736298ec8506efb1bbc66 Mon Sep 17 00:00:00 2001 From: kris Date: Tue, 28 Aug 2007 21:37:52 +0000 Subject: [PATCH] Fixing a syntax problem (from the massping migration). 'and' was used instead of '&&' in scan_engine.cc, and failed on Windows. --- scan_engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_engine.cc b/scan_engine.cc index bdd9f77fe..03488b623 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -2710,7 +2710,7 @@ static void doAnyNewProbes(UltraScanInfo *USI) { sending a probe. */ unableToSend = NULL; hss = USI->nextIncompleteHost(); - while (hss != NULL and hss != unableToSend && USI->gstats->sendOK()) { + while (hss != NULL && hss != unableToSend && USI->gstats->sendOK()) { if (hss->freshPortsLeft() && hss->sendOK(NULL)) { sendNextScanProbe(USI, hss); unableToSend = NULL;