diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-06 12:32:12 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-06 12:32:12 +0000 |
commit | 1ef9b7048da97b4c486b3fdcc56ee7830e89c77e (patch) | |
tree | e482bc850fd7735af3fc8d0816bbb034d4833c50 /usr.sbin/smtpd/smtpd.h | |
parent | 4961b2a4b6cbd2d39c117a2f14c35a634fa7190e (diff) |
in mda variables expansions, do not consider empty strings as errors since
an empty %{sender} is really a mailer-daemon and not an error
reported and initial diff by Lauri Tirkkonen <lotheac@iki.fi>
commit is a revised version of the diff based on a discussion with eric@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index a653888f4e1..0ea27ea86a6 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.576 2018/12/06 12:09:50 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.577 2018/12/06 12:32:11 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -1352,7 +1352,7 @@ void mda_unpriv(struct dispatcher *, struct deliver *, const char *, const char /* mda_variables.c */ -size_t mda_expand_format(char *, size_t, const struct deliver *, +ssize_t mda_expand_format(char *, size_t, const struct deliver *, const struct userinfo *, const char *); |