diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-25 13:29:48 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-25 13:29:48 +0000 |
commit | 9ab4bf9743d1581699a7558bd5fa7121427214c9 (patch) | |
tree | 79d787b0da743db0e13a69fb32c282dd1eccdc31 | |
parent | 0b9b1fe8a5773c64750bba1ac21612adcfb86951 (diff) |
Recent event masking scheme change turned the S_GREETED and S_HELO cases
in session_pickup into unreached code, so remove them; ok gilles@
-rw-r--r-- | usr.sbin/smtpd/smtp_session.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c index 0ee48787be7..3b3913a01df 100644 --- a/usr.sbin/smtpd/smtp_session.c +++ b/usr.sbin/smtpd/smtp_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_session.c,v 1.96 2009/05/24 15:47:31 jacekm Exp $ */ +/* $OpenBSD: smtp_session.c,v 1.97 2009/05/25 13:29:47 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -592,10 +592,6 @@ session_pickup(struct session *s, struct submit_status *ss) session_respond(s, SMTPD_BANNER, s->s_env->sc_hostname); break; - case S_GREETED: - case S_HELO: - break; - case S_TLS: if (s->s_flags & F_WRITEONLY) fatalx("session_pickup: corrupt session"); |