From: epg <> Date: Mon, 26 Apr 2004 16:23:30 +0000 (+0000) Subject: (filter_mail): Reduce $msgcount by two now that filter_mail receives a X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/3467d80bc8ae522f1a7279201a0d59bf631376ab?hp=0b8495aec177de33bb6ff4c19b63450b6a6bff44 (filter_mail): Reduce $msgcount by two now that filter_mail receives a list that contains '.' and '..'. --- diff --git a/minc b/minc index 09ae2bb..d1cea45 100755 --- a/minc +++ b/minc @@ -531,7 +531,7 @@ sub find_mh_folder { sub filter_mail { my @msglist = @_; - my $msgcount = @msglist; + my $msgcount = @msglist - 2; # don't count . and .. my $msgcountlen = length($msgcount); my @baton; my $msg;