diff options
| author | 2016-11-24 07:57:48 +0000 | |
|---|---|---|
| committer | 2016-11-24 07:57:48 +0000 | |
| commit | c57f8f28d76ce9cf9f59a0e970a9845793fc7af4 (patch) | |
| tree | 56c80cd3db5dbfee8487f13043771e2c1c77104c /usr.sbin/smtpd/mta_session.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-c57f8f28d76ce9cf9f59a0e970a9845793fc7af4.tar.xz wireguard-openbsd-c57f8f28d76ce9cf9f59a0e970a9845793fc7af4.zip | |
reset the io event when data is queued.
remove all calls to io_reload() which are now unnecessary.
ok gilles@ sunil@
Diffstat (limited to '')
| -rw-r--r-- | usr.sbin/smtpd/mta_session.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c index 75589e88e46..595657720da 100644 --- a/usr.sbin/smtpd/mta_session.c +++ b/usr.sbin/smtpd/mta_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta_session.c,v 1.89 2016/11/22 07:28:42 eric Exp $ */ +/* $OpenBSD: mta_session.c,v 1.90 2016/11/24 07:57:48 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -280,7 +280,6 @@ mta_session_imsg(struct mproc *p, struct imsg *imsg) mta_flush_task(s, IMSG_MTA_DELIVERY_TEMPFAIL, "Could not get message fd", 0, 0); mta_enter_state(s, MTA_READY); - io_reload(&s->io); return; } @@ -289,7 +288,6 @@ mta_session_imsg(struct mproc *p, struct imsg *imsg) fatal("mta: fdopen"); mta_enter_state(s, MTA_MAIL); - io_reload(&s->io); return; case IMSG_MTA_DNS_PTR: @@ -366,7 +364,6 @@ mta_session_imsg(struct mproc *p, struct imsg *imsg) mta_tls_verified(s); io_resume(&s->io, IO_PAUSE_IN); - io_reload(&s->io); return; case IMSG_MTA_LOOKUP_HELO: @@ -456,7 +453,6 @@ mta_on_timeout(struct runq *runq, void *arg) s->hangon++; mta_enter_state(s, MTA_READY); - io_reload(&s->io); } static void |
