summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/send.c')
-rw-r--r--usr.bin/mail/send.c3
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);
OpenPOWER on IntegriCloud