summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2008-12-07 15:41:17 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2008-12-07 15:41:17 +0000
commitbc27dada7ca1e8da033b735359e3f23417596861 (patch)
tree05c81dd8810d7633541157c2008ec3831a32e223 /usr.sbin
parent4f5bc610e4b2aea761c1aa52fca2fa75565df857 (diff)
Disable EV_READ when sending IMSG_PARENT_AUTHENTICATE.
This is for consistency, code is not reached yet. ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtp_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 2eb9943f90b..4fe9993fc55 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.25 2008/12/07 15:38:35 jacekm Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.26 2008/12/07 15:41:16 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -174,6 +174,7 @@ session_rfc4954_auth_handler(struct session *s, char *args)
imsg_compose(s->s_env->sc_ibufs[PROC_PARENT], IMSG_PARENT_AUTHENTICATE,
0, 0, -1, &req, sizeof(req));
+ bufferevent_disable(s->s_bev, EV_READ);
return 1;
}