nm4 2009/01/02 17:12:03 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src receive.c
Log:
Correct handling of Resent-Date headers. Fixes: #590
Revision Changes Path
1.561 +3 -0 exim/exim-doc/doc-txt/ChangeLog
1.45 +1 -1 exim/exim-src/src/receive.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.560
retrieving revision 1.561
diff -u -r1.560 -r1.561
--- ChangeLog 2 Jan 2009 16:58:05 -0000 1.560
+++ ChangeLog 2 Jan 2009 17:12:03 -0000 1.561
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.560 2009/01/02 16:58:05 nm4 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.561 2009/01/02 17:12:03 nm4 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -88,6 +88,9 @@
NM/12 Bugzilla 497: Correct behaviour of exiwhat when no config exists.
+NM/13 Bugzilla 590: Correct handling of Resent-Date headers.
+ Patch provided by Brad "anomie" Jorsch
+
Exim version 4.69
-----------------
Index: receive.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/receive.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- receive.c 22 Jan 2008 19:23:46 -0000 1.44
+++ receive.c 2 Jan 2009 17:12:03 -0000 1.45
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/receive.c,v 1.44 2008/01/22 19:23:46 fanf2 Exp $ */
+/* $Cambridge: exim/exim-src/src/receive.c,v 1.45 2009/01/02 17:12:03 nm4 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -1947,7 +1947,7 @@
/* Record whether a Date: or Resent-Date: header exists, as appropriate. */
case htype_date:
- date_header_exists = !resents_exist || is_resent;
+ if (!resents_exist || is_resent) date_header_exists = TRUE;
break;
/* Same comments as about Return-Path: below. */