diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-04-19 21:10:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-04-19 21:10:33 +0000 |
commit | 2c3698906e303b5d860b59c58ce51c1af770565f (patch) | |
tree | ce66376a6c6d06b859b36381c3982504ee355046 | |
parent | e5599e7b2e6eb910293c672d2bfd43af926b2c9f (diff) | |
download | fetchmail-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |