1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Fix some "and" -> "&&".

This commit is contained in:
david
2011-07-19 23:42:33 +00:00
parent 1646813162
commit 6cf428d8c6
2 changed files with 2 additions and 2 deletions

View File

@@ -3685,7 +3685,7 @@ static void sendNextRetryStackProbe(UltraScanInfo *USI, HostScanStats *hss) {
if (pspec.type == PS_CONNECTTCP) if (pspec.type == PS_CONNECTTCP)
sendConnectScanProbe(USI, hss, pspec.pd.tcp.dport, pspec_tries + 1, 0); sendConnectScanProbe(USI, hss, pspec.pd.tcp.dport, pspec_tries + 1, 0);
else { else {
assert(pspec.type != PS_ARP and pspec.type != PS_ND); assert(pspec.type != PS_ARP && pspec.type != PS_ND);
sendIPScanProbe(USI, hss, &pspec, pspec_tries + 1, 0); sendIPScanProbe(USI, hss, &pspec, pspec_tries + 1, 0);
} }
} }

View File

@@ -1762,7 +1762,7 @@ int read_na_pcap(pcap_t *pd, u8 *sendermac, struct sockaddr_in6 *senderIP, long
} }
} }
} }
} while (!timedout and !ip_tmp); } while (!timedout && !ip_tmp);
if (timedout) if (timedout)
return 0; return 0;