You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/09/03 01:56:32 UTC
svn commit: r439689 -
/spamassassin/branches/tvd-multi-mass-check/masses/mass-check
Author: felicity
Date: Sat Sep 2 16:56:32 2006
New Revision: 439689
URL: http://svn.apache.org/viewvc?rev=439689&view=rev
Log:
it occurred to me that we could use opt_client instead of adding a parameter that matches the value
Modified:
spamassassin/branches/tvd-multi-mass-check/masses/mass-check
Modified: spamassassin/branches/tvd-multi-mass-check/masses/mass-check
URL: http://svn.apache.org/viewvc/spamassassin/branches/tvd-multi-mass-check/masses/mass-check?rev=439689&r1=439688&r2=439689&view=diff
==============================================================================
--- spamassassin/branches/tvd-multi-mass-check/masses/mass-check (original)
+++ spamassassin/branches/tvd-multi-mass-check/masses/mass-check Sat Sep 2 16:56:32 2006
@@ -457,8 +457,6 @@
###########################################################################
sub init_results {
- my $no_output = shift;
-
$init_results = 1;
showdots_finish();
@@ -474,7 +472,7 @@
$statusevery ||= 1;
}
- return if $no_output;
+ return if $opt_client;
if ($opt_o) {
autoflush STDOUT 1;
@@ -1784,7 +1782,7 @@
my ($class, $result, $time) = @_;
# don't open results files until we get here to avoid overwriting files
- init_results(1) if !$init_results;
+ init_results() if !$init_results;
if ($class eq "s") {
$spam_count++;