diff options
author | 2012-09-02 12:21:22 +0000 | |
---|---|---|
committer | 2012-09-02 12:21:22 +0000 | |
commit | 86a44cc8611331394b5902dc1510c49680822aa2 (patch) | |
tree | 8328d6f0e62b3c74e9b2c7443b6bb3591f511044 | |
parent | Provide ios::pos_type and ios::off_type on gcc 2.95 platforms, as some ports (diff) | |
download | wireguard-openbsd-86a44cc8611331394b5902dc1510c49680822aa2.tar.xz wireguard-openbsd-86a44cc8611331394b5902dc1510c49680822aa2.zip |
remove warning
asked by gilles@
ok gilles@
-rw-r--r-- | usr.sbin/smtpd/envelope.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c index 25d2628b734..684fe2cea27 100644 --- a/usr.sbin/smtpd/envelope.c +++ b/usr.sbin/smtpd/envelope.c @@ -1,4 +1,4 @@ -/* $OpenBSD: envelope.c,v 1.10 2012/08/24 13:21:56 chl Exp $ */ +/* $OpenBSD: envelope.c,v 1.11 2012/09/02 12:21:22 chl Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -387,6 +387,8 @@ envelope_ascii_dump(enum envelope_field field, struct envelope *ep, switch (field) { case EVP_VERSION: return ascii_dump_uint32(SMTPD_ENVELOPE_VERSION, buf, len); + case EVP_MSGID: + return 1; case EVP_TYPE: return ascii_dump_type(ep->type, buf, len); case EVP_HELO: |