diff options
author | mikeh <mikeh@FreeBSD.org> | 2001-06-14 01:08:30 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2001-06-14 01:08:30 +0000 |
commit | 3979a82a111d0d9b1fcc24137b7826d4eba0de01 (patch) | |
tree | d65f1671eab412f8ae3e9598a873cd82b801a3ac /usr.bin/mail/send.c | |
parent | 2f9709c0f1e1952c3be380e8b407a98632986680 (diff) | |
download | FreeBSD-src-3979a82a111d0d9b1fcc24137b7826d4eba0de01.zip FreeBSD-src-3979a82a111d0d9b1fcc24137b7826d4eba0de01.tar.gz |
Respect REPLYTO in mailrc.
PR: bin/8322
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/mail/send.c')
-rw-r--r-- | usr.bin/mail/send.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |