You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by do...@apache.org on 2007/10/04 04:42:34 UTC
svn commit: r581764 - /spamassassin/trunk/masses/mass-check
Author: dos
Date: Wed Oct 3 19:42:33 2007
New Revision: 581764
URL: http://svn.apache.org/viewvc?rev=581764&view=rev
Log:
cleanup more cosmetic/debug stuff that bugs me
Modified:
spamassassin/trunk/masses/mass-check
Modified: spamassassin/trunk/masses/mass-check
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/mass-check?rev=581764&r1=581763&r2=581764&view=diff
==============================================================================
--- spamassassin/trunk/masses/mass-check (original)
+++ spamassassin/trunk/masses/mass-check Wed Oct 3 19:42:33 2007
@@ -431,6 +431,7 @@
}
status("completed scan stage, $total_messages messages") if ($opt_progress);
+ showdots_finish();
}
###########################################################################
@@ -1669,7 +1670,8 @@
}
if ($opt_noisy) {
- status(scalar(keys %{$msgsout}).' messages outstanding');
+ status((exists $msgsout->{'curnum'} ? (scalar(keys %{$msgsout})-1) :
+ scalar(keys %{$msgsout})).' messages outstanding');
}
@@ -1774,7 +1776,7 @@
}
$made_conn_once = 1;
- status("Requesting $msgnum messages from server") if ($opt_noisy);
+ status("requesting $msgnum messages from server") if ($opt_noisy);
# make request, include and then drop results if there are any
my $result = http_make_request($socket, 'POST', $uri, {
@@ -1795,7 +1797,7 @@
}
elsif ($result eq 'finished') {
# the server said that we're done
- status('Server has no more work, exiting.') if ($opt_noisy);
+ status('server has no more work, exiting.') if ($opt_noisy);
last;
}
elsif ($result eq '') {
@@ -1907,7 +1909,7 @@
status('completed run stage');
}
- status('Completed run in '.($time_end-$time_start).' seconds') if ($opt_noisy);
+ status('completed run in '.($time_end-$time_start).' seconds') if ($opt_noisy);
$msgnum = int($msgnum * $opt_cs_timeout / ($time_end-$time_start)) || 1;
}
}