diff options
Diffstat (limited to 'usr.sbin/smtpd/delivery_mbox.c')
-rw-r--r-- | usr.sbin/smtpd/delivery_mbox.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/delivery_mbox.c b/usr.sbin/smtpd/delivery_mbox.c index 8fd883cd17e..a915e2be786 100644 --- a/usr.sbin/smtpd/delivery_mbox.c +++ b/usr.sbin/smtpd/delivery_mbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: delivery_mbox.c,v 1.11 2015/01/20 17:37:54 deraadt Exp $ */ +/* $OpenBSD: delivery_mbox.c,v 1.12 2015/12/22 07:54:57 sunil Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@poolp.org> @@ -58,7 +58,8 @@ delivery_mbox_open(struct deliver *deliver) environ = environ_new; if (deliver->from[0] == '\0') - (void)strlcpy(deliver->from, "MAILER-DAEMON", sizeof deliver->from); + (void)strlcpy(deliver->from, "MAILER-DAEMON", + sizeof deliver->from); execle(PATH_MAILLOCAL, PATH_MAILLOCAL, "-f", deliver->from, deliver->to, (char *)NULL, environ_new); perror("execle"); |