diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-12-05 09:44:17 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-12-05 09:44:17 +0000 |
commit | 526fa7e80f177c3db26720f85b732365a0811a47 (patch) | |
tree | 9f59ab82e57cf8f33351c1c8fd732a0edf9d7864 | |
parent | 444b5e1ebdd30ed10fda42708e063a9000fffdb2 (diff) |
warn when failing to parse a field
-rw-r--r-- | usr.sbin/smtpd/envelope.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c index f0ce14e3035..ba83c3d9543 100644 --- a/usr.sbin/smtpd/envelope.c +++ b/usr.sbin/smtpd/envelope.c @@ -1,4 +1,4 @@ -/* $OpenBSD: envelope.c,v 1.24 2013/11/28 10:43:37 eric Exp $ */ +/* $OpenBSD: envelope.c,v 1.25 2013/12/05 09:44:16 eric Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> @@ -518,6 +518,7 @@ envelope_ascii_load(struct envelope *ep, struct dict *d) return (1); err: + log_warnx("envelope: invalid field \"%s\"", field); return (0); } |