summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/esc.c4
-rw-r--r--usr.sbin/smtpd/smtpd-api.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/esc.c b/usr.sbin/smtpd/esc.c
index d3517eb59cb..f311b8e8087 100644
--- a/usr.sbin/smtpd/esc.c
+++ b/usr.sbin/smtpd/esc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esc.c,v 1.3 2015/01/20 17:37:54 deraadt Exp $ */
+/* $OpenBSD: esc.c,v 1.4 2015/10/14 21:02:11 gilles Exp $ */
/*
* Copyright (c) 2014 Gilles Chehade <gilles@poolp.org>
@@ -72,7 +72,7 @@ static struct escode {
{ ESC_DELIVERY_TIME_EXPIRED, "Delivery time expired" },
/* 5.x */
- { ESC_OTHER_PROTOCOL_STATUS, "Other/Undefined protocol status" },
+ { ESC_INVALID_RECIPIENT, "Invalid recipient" },
{ ESC_INVALID_COMMAND, "Invalid command" },
{ ESC_SYNTAX_ERROR, "Syntax error" },
{ ESC_TOO_MANY_RECIPIENTS, "Too many recipients" },
diff --git a/usr.sbin/smtpd/smtpd-api.h b/usr.sbin/smtpd/smtpd-api.h
index f1aa06d1b8b..6cb1a10e796 100644
--- a/usr.sbin/smtpd/smtpd-api.h
+++ b/usr.sbin/smtpd/smtpd-api.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd-api.h,v 1.21 2015/01/20 17:37:54 deraadt Exp $ */
+/* $OpenBSD: smtpd-api.h,v 1.22 2015/10/14 21:02:11 gilles Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -254,7 +254,7 @@ enum enhanced_status_code {
ESC_DELIVERY_TIME_EXPIRED = 47,
/* 5.x */
- ESC_OTHER_PROTOCOL_STATUS = 50,
+ ESC_INVALID_RECIPIENT = 50,
ESC_INVALID_COMMAND = 51,
ESC_SYNTAX_ERROR = 52,
ESC_TOO_MANY_RECIPIENTS = 53,