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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user