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

Use Nbase MIN.

Plain min was using something from the C++ std namespace.
This commit is contained in:
david
2012-10-11 04:45:48 +00:00
parent 3029747902
commit c47c5c52a1

View File

@@ -864,7 +864,7 @@ static int expireUnmatchedHosts(OsScanInfo *OSI, list<HostOsScanInfo *> *unMatch
int max_tries = o.maxOSTries(); /* The amt. if print is suitable for submission */ int max_tries = o.maxOSTries(); /* The amt. if print is suitable for submission */
if (HOS->target->FPR->OmitSubmissionFP()) if (HOS->target->FPR->OmitSubmissionFP())
max_tries = min(max_tries, STANDARD_OS2_TRIES); max_tries = MIN(max_tries, STANDARD_OS2_TRIES);
if (HOS->FPR->numFPs >= max_tries) { if (HOS->FPR->numFPs >= max_tries) {
/* We've done all the OS2 tries we're going to do ... move this /* We've done all the OS2 tries we're going to do ... move this