You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/07/09 19:01:14 UTC

svn commit: r420320 - /spamassassin/trunk/masses/mass-check

Author: jm
Date: Sun Jul  9 10:01:13 2006
New Revision: 420320

URL: http://svn.apache.org/viewvc?rev=420320&view=rev
Log:
do not reuse results from short-circuited messages

Modified:
    spamassassin/trunk/masses/mass-check

Modified: spamassassin/trunk/masses/mass-check
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/mass-check?rev=420320&r1=420319&r2=420320&view=diff
==============================================================================
--- spamassassin/trunk/masses/mass-check (original)
+++ spamassassin/trunk/masses/mass-check Sun Jul  9 10:01:13 2006
@@ -417,7 +417,9 @@
   my @previous;
   if ($x_spam_status) {
     $x_spam_status =~ s/,\s+/,/gs;
-    if ($x_spam_status =~ m/tests=(\S*)/) {
+    if ($x_spam_status =~ m/tests=(\S*)/
+        && $x_spam_status !~ /\bshortcircuit=(?:ham|spam|default)\b/)
+    {
       push @previous, split(/,/, $1);
 
       # we found previous tests, so move the reuse config into place