ph10 2005/11/15 11:23:43 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src/transports autoreply.c
Log:
In autoreply, treat an empty string for "once" the same as unset.
Revision Changes Path
1.264 +2 -0 exim/exim-doc/doc-txt/ChangeLog
1.7 +1 -1 exim/exim-src/src/transports/autoreply.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -r1.263 -r1.264
--- ChangeLog 15 Nov 2005 11:19:38 -0000 1.263
+++ ChangeLog 15 Nov 2005 11:23:43 -0000 1.264
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.263 2005/11/15 11:19:38 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.264 2005/11/15 11:23:43 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -133,6 +133,8 @@
PH/15 If the first argument of "${if match_address" was not empty, but did not
contain an "@" character, Exim crashed. Now it writes a panic log message
and treats the condition as false.
+
+PH/16 In autoreply, treat an empty string for "once" the same as unset.
Exim version 4.54
Index: autoreply.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/transports/autoreply.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- autoreply.c 14 Nov 2005 11:32:16 -0000 1.6
+++ autoreply.c 15 Nov 2005 11:23:43 -0000 1.7
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/transports/autoreply.c,v 1.6 2005/11/14 11:32:16 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/transports/autoreply.c,v 1.7 2005/11/15 11:23:43 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -420,7 +420,7 @@
set, instead of a dbm file, we use a regular file containing a circular buffer
recipient cache. */
-if (oncelog != NULL && to != NULL)
+if (oncelog != NULL && *oncelog != 0 && to != NULL)
{
time_t then = 0;