1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Fixing a syntax problem (from the massping migration). 'and' was used instead of '&&' in scan_engine.cc, and failed on Windows.

This commit is contained in:
kris
2007-08-28 21:37:52 +00:00
parent a84a7d14c8
commit a2cbf0cef4

View File

@@ -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;