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/06/26 03:53:54 UTC
svn commit: r417105 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
Author: felicity
Date: Sun Jun 25 18:53:54 2006
New Revision: 417105
URL: http://svn.apache.org/viewvc?rev=417105&view=rev
Log:
modify Message::find_parts() to pass any options to Message::Node::find_parts() even if the API changes
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm?rev=417105&r1=417104&r2=417105&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm Sun Jun 25 18:53:54 2006
@@ -353,13 +353,13 @@
# objects which match.
#
sub find_parts {
- my ($self, $re, $onlyleaves, $recursive) = @_;
+ my $self = shift;
# ok, we need to do the parsing now...
$self->_do_parse() if (exists $self->{'toparse'});
# and pass through to the Message::Node version of the method
- return $self->SUPER::find_parts($re, $onlyleaves, $recursive);
+ return $self->SUPER::find_parts(@_);
}
# ---------------------------------------------------------------------------