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

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

This commit is contained in:
jay
2014-08-03 04:25:18 +00:00
parent 68659157f6
commit df4f23eec0
2 changed files with 2 additions and 2 deletions

View File

@@ -1310,7 +1310,7 @@ bool HostOsScan::nextTimeout(HostOsScanStats *hss, struct timeval *when) {
}
*when = (firstgood)? now : earliest_to;
return (firstgood)? false : true;
return !firstgood;
}