mirror of
https://github.com/nmap/nmap.git
synced 2026-06-10 01:35:18 +00:00
Fix a compiler warning.
This commit is contained in:
parent
5c222c6965
commit
d4eafba473
1 changed files with 1 additions and 1 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -1607,7 +1607,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||
num_host_exp_groups = 0;
|
||||
/* Now grab any new expressions */
|
||||
while(num_host_exp_groups < o.ping_group_sz &&
|
||||
(!o.max_ips_to_scan || o.max_ips_to_scan > o.numhosts_scanned + Targets.size() + num_host_exp_groups) &&
|
||||
(!o.max_ips_to_scan || o.max_ips_to_scan > o.numhosts_scanned + (int) Targets.size() + num_host_exp_groups) &&
|
||||
(host_spec = grab_next_host_spec(inputfd, argc, fakeargv))) {
|
||||
// For purposes of random scan
|
||||
host_exp_group[num_host_exp_groups++] = strdup(host_spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue