spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r225838 - /spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm
Date Thu, 28 Jul 2005 18:16:40 GMT
Author: dos
Date: Thu Jul 28 11:16:38 2005
New Revision: 225838

URL: http://svn.apache.org/viewcvs?rev=225838&view=rev
Log:
bug 4396: spamcop plugin spamcop_max_report_size not defined

Modified:
    spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm

Modified: spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm
URL: http://svn.apache.org/viewcvs/spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm?rev=225838&r1=225837&r2=225838&view=diff
==============================================================================
--- spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm (original)
+++ spamassassin/branches/3.1/lib/Mail/SpamAssassin/Plugin/SpamCop.pm Thu Jul 28 11:16:38
2005
@@ -226,8 +226,8 @@
 	      );
 
   # truncate message
-  if (length($original) > $self->{conf}->{spamcop_max_report_size} * 1024) {
-    substr($original, ($self->{conf}->{spamcop_max_report_size} * 1024)) =
+  if (length($original) > $self->{main}->{conf}->{spamcop_max_report_size} *
1024) {
+    substr($original, ($self->{main}->{conf}->{spamcop_max_report_size} * 1024))
=
       "\n[truncated by SpamAssassin]\n";
   }
 



Mime
View raw message