From 526fa7e80f177c3db26720f85b732365a0811a47 Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Thu, 5 Dec 2013 09:44:17 +0000 Subject: warn when failing to parse a field --- usr.sbin/smtpd/envelope.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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); } -- cgit v1.2.3