X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fcatchup.pl;h=20020067b8d90a87e4750c24cc0c0ae7e70d4231;hb=217d9d54b6772ed24aee88d5dc968a64de54f531;hp=e2f439040921652d9198cf7f719a93e51c55a7cf;hpb=e5581689d790a1afd6ba0d83dc3bc36fc0e0f885;p=spider.git diff --git a/cmd/catchup.pl b/cmd/catchup.pl index e2f43904..20020067 100644 --- a/cmd/catchup.pl +++ b/cmd/catchup.pl @@ -29,7 +29,7 @@ foreach my $msgno (@f) { @ref = DXMsg::get_all(); last; } elsif (my ($f, $t) = $msgno =~ /(\d+)-(\d+)/) { - while ($f < $t) { + while ($f <= $t) { $ref = DXMsg::get($f++); push @ref, $ref if $ref; }