fanf2 2008/07/18 18:55:42 BST
Modified files:
exim-src/src spam.c
exim-doc/doc-txt ChangeLog
Log:
Leading white space used to be stripped from $spam_report which
wrecked the formatting. Now it is preserved.
Revision Changes Path
1.549 +2 -1 exim/exim-doc/doc-txt/ChangeLog
1.17 +3 -6 exim/exim-src/src/spam.c
Index: spam.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/spam.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- spam.c 28 Jan 2008 13:14:48 -0000 1.16
+++ spam.c 18 Jul 2008 17:55:42 -0000 1.17
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/spam.c,v 1.16 2008/01/28 13:14:48 tom Exp $ */
+/* $Cambridge: exim/exim-src/src/spam.c,v 1.17 2008/07/18 17:55:42 fanf2 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -354,13 +354,10 @@
*q = *p;
q++;
if (*p == '\n') {
- *q = '\t';
+ /* add an extra space after the newline to ensure
+ that it is treated as a header continuation line */
+ *q = ' ';
q++;
- /* eat whitespace */
- while( (*p <= ' ') && (*p != '\0') ) {
- p++;
- };
- p--;
};
p++;
};
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.548
retrieving revision 1.549
diff -u -r1.548 -r1.549
--- ChangeLog 16 May 2008 12:22:08 -0000 1.548
+++ ChangeLog 18 Jul 2008 17:55:42 -0000 1.549
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.548 2008/05/16 12:22:08 nm4 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.549 2008/07/18 17:55:42 fanf2 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -54,7 +54,8 @@
NM/05 Bugzilla 598: Improvedment to Dovecot authenticator handling.
Patch provided by Jan Srzednicki
-
+TF/05 Leading white space used to be stripped from $spam_report which
+ wrecked the formatting. Now it is preserved.
Exim version 4.69