aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-04-19 21:10:33 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-04-19 21:10:33 +0000
commit2c3698906e303b5d860b59c58ce51c1af770565f (patch)
treece66376a6c6d06b859b36381c3982504ee355046
parente5599e7b2e6eb910293c672d2bfd43af926b2c9f (diff)
downloadfetchmail-2c3698906e303b5d860b59c58ce51c1af770565f.tar.gz
fetchmail-2c3698906e303b5d860b59c58ce51c1af770565f.tar.bz2
fetchmail-2c3698906e303b5d860b59c58ce51c1af770565f.zip
Back out any attempt to handle empy return-paths specially.
svn path=/trunk/; revision=1746
-rw-r--r--driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/driver.c b/driver.c
index d3f191ab..af0e61c8 100644
--- a/driver.c
+++ b/driver.c
@@ -833,12 +833,12 @@ int num; /* index of message */
* We do *not* want to ignore empty Return-Path headers. These should
* be passed through as a way of indicating that a message should
* not trigger bounces if delivery fails. What we *do* need to do is
- * make sure we never try to rewrite such a blank Return-Path.
- *
+ * make sure we never try to rewrite such a blank Return-Path. We
+ * handle this with a check for <> in the rewrite logic.
*/
- if (!strncasecmp("Return-Path:", line, 12))
+ if (!strncasecmp("Return-Path:", line, 12) && (cp = nxtaddr(line)))
{
- strcpy(return_path, line);
+ strcpy(return_path, cp);
if (!ctl->mda) {
free(line);
continue;