From 3979a82a111d0d9b1fcc24137b7826d4eba0de01 Mon Sep 17 00:00:00 2001 From: mikeh Date: Thu, 14 Jun 2001 01:08:30 +0000 Subject: Respect REPLYTO in mailrc. PR: bin/8322 Submitted by: Philipp Mergenthaler MFC after: 2 weeks --- usr.bin/mail/send.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/mail/send.c') diff --git a/usr.bin/mail/send.c b/usr.bin/mail/send.c index 4d4e2de..0e6886c 100644 --- a/usr.bin/mail/send.c +++ b/usr.bin/mail/send.c @@ -287,8 +287,7 @@ sendmail(str) head.h_cc = NULL; head.h_bcc = NULL; head.h_smopts = NULL; - if ((head.h_replyto = getenv("REPLYTO")) == NULL) - head.h_replyto = NULL; + head.h_replyto = value("REPLYTO"); head.h_inreplyto = NULL; mail1(&head, 0); return (0); -- cgit v1.1