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 2005/05/21 20:02:24 UTC

svn commit: r171235 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Author: felicity
Date: Sat May 21 11:02:23 2005
New Revision: 171235

URL: http://svn.apache.org/viewcvs?rev=171235&view=rev
Log:
make sure subparse is checked for >0, not just a true value which could include negative numbers

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm?rev=171235&r1=171234&r2=171235&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm Sat May 21 11:02:23 2005
@@ -752,7 +752,7 @@
 
   # If this part is a message/* part, and the parent isn't also a
   # message/* part (ie: the main part) go ahead and parse into a tree.
-  if ($part_msg->{'type'} =~ /^message\b/i && $msg->{subparse}) {
+  if ($part_msg->{'type'} =~ /^message\b/i && ($msg->{subparse} > 0)) {
     # Get the part ready...
     my $message = $part_msg->decode();