You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2007/11/16 02:15:33 UTC

svn commit: r595511 - /spamassassin/trunk/spamassassin.raw

Author: mmartinec
Date: Thu Nov 15 17:15:32 2007
New Revision: 595511

URL: http://svn.apache.org/viewvc?rev=595511&view=rev
Log:
add a call to $spamtest->finish in spamassassin.raw to allow plugins like HitFreqsRuleTiming to finish up their job

Modified:
    spamassassin/trunk/spamassassin.raw

Modified: spamassassin/trunk/spamassassin.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamassassin.raw?rev=595511&r1=595510&r2=595511&view=diff
==============================================================================
--- spamassassin/trunk/spamassassin.raw (original)
+++ spamassassin/trunk/spamassassin.raw Thu Nov 15 17:15:32 2007
@@ -287,6 +287,7 @@
     die "spamassassin: oops! unhandled whitelist operation";
   }
 
+  $spamtest->finish();
   exit(0);
 }
 
@@ -382,6 +383,8 @@
 
 # if the eval died from something, report it here and return an error.
 if ($@) { die $@; }
+
+$spamtest->finish()  if $spamtest;
 
 # Ok, exit!
 exit( $exitvalue || 0 );