diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2016-09-03 22:16:40 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2016-09-03 22:16:40 +0000 |
commit | 58f7c366c2a2853fb8d3605375e138dd61f56bef (patch) | |
tree | 1d421dbf20fab15ffa887733f5d0d3ad805eb0a8 /usr.sbin | |
parent | 55f54851ca2af10b32edca9bd402e6ea808e8987 (diff) |
remove dead code
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/esc.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/usr.sbin/smtpd/esc.c b/usr.sbin/smtpd/esc.c index f311b8e8087..a07320ce3c6 100644 --- a/usr.sbin/smtpd/esc.c +++ b/usr.sbin/smtpd/esc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esc.c,v 1.4 2015/10/14 21:02:11 gilles Exp $ */ +/* $OpenBSD: esc.c,v 1.5 2016/09/03 22:16:39 gilles Exp $ */ /* * Copyright (c) 2014 Gilles Chehade <gilles@poolp.org> @@ -98,30 +98,6 @@ static struct escode { { ESC_MESSAGE_TOO_BIG_FOR_SYSTEM, "Message integrity failure" }, }; -#if 0 -struct esc_map { - uint8_t code; - const char *description; -}; - -static struct esc_map esc_class[] = { - { 2, "Success" }, - { 4, "Persistent Transient Failure"}, - { 5, "Permanent Failure" }, -}; - -static struct esc_map esc_subclass[] = { - { 0, "Other/Undefined" }, - { 1, "Addressing Status" }, - { 2, "Mailbox Status" }, - { 3, "Mail System Status" }, - { 4, "Network and Routing Status" }, - { 5, "Mail Delivery Protocol Status" }, - { 6, "Message Content or Media Status" }, - { 7, "Security or Policy Status" }, -}; -#endif - const char * esc_code(enum enhanced_status_class class, enum enhanced_status_code code) { |