From 2c3698906e303b5d860b59c58ce51c1af770565f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 19 Apr 1998 21:10:33 +0000 Subject: Back out any attempt to handle empy return-paths specially. svn path=/trunk/; revision=1746 --- driver.c | 8 ++++---- 1 file 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; -- cgit v1.2.3