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 2007/01/13 21:38:25 UTC

svn commit: r495967 - /spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm

Author: jm
Date: Sat Jan 13 12:38:25 2007
New Revision: 495967

URL: http://svn.apache.org/viewvc?view=rev&rev=495967
Log:
bug 4322: comment unused {redirect_num} code

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

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?view=diff&rev=495967&r1=495966&r2=495967
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Sat Jan 13 12:38:25 2007
@@ -1737,7 +1737,7 @@
   }
 
   my @uris = ();
-  $self->{redirect_num} = 0;
+  # $self->{redirect_num} = 0;
 
   # get URIs from HTML parsing
   while(my($uri, $info) = each %{ $self->get_uri_detail_list() }) {
@@ -1746,9 +1746,9 @@
         push(@uris, $_);
 
         # count redirection attempts and log it
-        if (my @http = m{\b(https?:/{0,2})}gi) {
-          $self->{redirect_num} = $#http if ($#http > $self->{redirect_num});
-        }
+        # if (my @http = m{\b(https?:/{0,2})}gi) {
+        # $self->{redirect_num} = $#http if ($#http > $self->{redirect_num});
+        # }
       }
     }
   }