diff -u -r1.43 portscout.pl --- /usr/local/bin/portscout 2 Feb 2007 23:03:04 -0000 1.43 +++ /usr/local/bin/portscout 4 Feb 2007 15:13:39 -0000 @@ -1095,12 +1095,12 @@ while (my $port = $sth->fetchrow_hashref) { - push @workblock, $port if ($port); - $i++; next unless checkrestricted($port->{name}, $port->{cat}, $port->{maintainer}); + push @workblock, $port if ($port); + # Got enough work? if ($#workblock > $settings{workqueue_size} or $i == $num_rows) {