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