You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2008/08/26 20:41:29 UTC

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

Author: mmartinec
Date: Tue Aug 26 11:41:29 2008
New Revision: 689167

URL: http://svn.apache.org/viewvc?rev=689167&view=rev
Log:
cosmetic: use tab/space indentation as originally in that code section

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=689167&r1=689166&r2=689167&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm Tue Aug 26 11:41:29 2008
@@ -229,16 +229,16 @@
       }
 
       if ($current =~ /^\r?$/) {  # a regular end of header section
-        if ($eof) {
-          $self->{'missing_head_body_separator'} = 1;
-        } else {
-          $self->{'pristine_headers'} .= $current;
-        }
-        last;
+	if ($eof) {
+	  $self->{'missing_head_body_separator'} = 1;
+	} else {
+	  $self->{'pristine_headers'} .= $current;
+	}
+	last;
       }
       elsif ($current !~ /^[\041-\071\073-\176]+[ \t]*:/ ||
 	     $current =~ /^--/) {  # mime boundary
-        # obsolete header field syntax allowed WSP before a colon;
+	# obsolete header field syntax allowed WSP before a colon;
 	# Check for missing head/body separator
 	# RFC 2822, s2.2:
 	# A field name MUST be composed of printable US-ASCII characters
@@ -246,8 +246,8 @@
 	# inclusive), except colon (072).
 
 	$self->{'missing_head_body_separator'} = 1;
-        unshift(@message, $current);
-        last;
+	unshift(@message, $current);
+ 	last;
       }
 
       # start collecting a new header field