You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/06/28 03:37:29 UTC

svn commit: r202111 - /spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm

Author: jm
Date: Mon Jun 27 18:37:28 2005
New Revision: 202111

URL: http://svn.apache.org/viewcvs?rev=202111&view=rev
Log:
bugfix from prev commit: the ordering of -firsttrusted was being reversed, testing the LAST (least recent) untrusted relay instead of the FIRST (most recent).  fixed again

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

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm?rev=202111&r1=202110&r2=202111&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm Mon Jun 27 18:37:28 2005
@@ -1264,7 +1264,7 @@
           push(@tips, $ip);
         }
       }
-      @ips = reverse $self->ip_list_uniq_and_strip_private (@ips, @tips);
+      @ips = $self->ip_list_uniq_and_strip_private (@ips, @tips);
       if ($1 eq "first") {
         @ips = (defined $ips[0]) ? ($ips[0]) : ();
       }