1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Change all statements of the form 'return BOOLEAN_EXPRESSION ? true : false;' to 'return BOOLEAN_EXPRESSION;'

This commit is contained in:
jay
2014-08-03 04:22:02 +00:00
parent 3c38c2099b
commit 68659157f6
3 changed files with 3 additions and 3 deletions

View File

@@ -1868,7 +1868,7 @@ bool UltraScanInfo::sendOK(struct timeval *when) {
if (when)
*when = lowhtime;
return (TIMEVAL_MSEC_SUBTRACT(lowhtime, now) == 0) ? true : false;
return (TIMEVAL_MSEC_SUBTRACT(lowhtime, now) == 0);
}
/* Find a HostScanStats by its IP address in the incomplete and completed lists.