summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-04-24 15:27:00 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-04-24 15:27:00 +0000
commitf878e6be882338da696fb52540a7644782f92fd4 (patch)
tree35a31ec1f18941d1b5f987ce0310eb70a727a2df /usr.sbin/smtpd
parent37580b6acc6c02cb138cec4f6b699e412d4ec852 (diff)
in session_pickup, do not handle S_RCPT state, it must never be
called in this state; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/smtp_session.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index dac423c556f..15bfd401ea5 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.73 2009/04/24 09:38:11 jacekm Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.74 2009/04/24 15:26:59 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -652,9 +652,6 @@ session_pickup(struct session *s, struct submit_status *ss)
s->rcptcount++;
s->s_msg.recipient = ss->u.path;
- case S_RCPT:
- if (ss == NULL)
- fatalx("bad ss at S_RCPT");
session_respond(s, "%d Recipient ok", ss->code);
break;