diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-11-15 11:23:43 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-11-15 11:23:43 +0000 |
commit | 096fee002700c404bfaa504ff0979c76b361782d (patch) | |
tree | a343714ece69bad8508f0a2fed7900a06f55c3e6 /src | |
parent | f091772774d0a744c3b8488575fc28205e6994b4 (diff) |
In autoreply, treat an empty string for "once" the same as unset.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/autoreply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/transports/autoreply.c b/src/src/transports/autoreply.c index 1b867d240..6ff2f3415 100644 --- a/src/src/transports/autoreply.c +++ b/src/src/transports/autoreply.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/autoreply.c,v 1.6 2005/11/14 11:32:16 ph10 Exp $ */ +/* $Cambridge: 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 @@ recipient, the effect might not be quite as envisaged. If once_file_size is 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; |