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 2004/02/05 21:26:16 UTC

svn commit: rev 6518 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin

Author: felicity
Date: Thu Feb  5 12:26:15 2004
New Revision: 6518

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Log:
the loop should deal with the file name, not the folder name ...

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm	Thu Feb  5 12:26:15 2004
@@ -570,9 +570,10 @@
   }
 
   foreach my $file (@files) {
-    if ($folder =~ /\.(?:gz|bz2)$/) {
+    if ($file =~ /\.(?:gz|bz2)$/) {
       die "compressed mbox folders are not supported at this time\n";
     }
+
     mail_open($file) or return;
     
     my $start = 0;		# start of a message