diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2016-11-30 17:43:33 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2016-11-30 17:43:33 +0000 |
commit | cff7ffc45673763f6bfb61d48566cc73764210d4 (patch) | |
tree | b576552985930868167d503e2086beb96c70efc7 /usr.sbin/smtpd/mda.c | |
parent | 32f4376b24884f3f3b54b6e8dd6991bffa754a88 (diff) |
hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}
ok gilles@ sunil@
Diffstat (limited to 'usr.sbin/smtpd/mda.c')
-rw-r--r-- | usr.sbin/smtpd/mda.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/mda.c b/usr.sbin/smtpd/mda.c index c7b0b67d7e6..ef6b6f8ea8b 100644 --- a/usr.sbin/smtpd/mda.c +++ b/usr.sbin/smtpd/mda.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mda.c,v 1.125 2016/11/30 11:52:48 eric Exp $ */ +/* $OpenBSD: mda.c,v 1.126 2016/11/30 17:43:32 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -527,7 +527,7 @@ mda_io(struct io *io, int evt, void *arg) m_add_id(p_parent, s->id); m_add_string(p_parent, "Out of memory"); m_close(p_parent); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); free(ln); return; } @@ -542,7 +542,7 @@ mda_io(struct io *io, int evt, void *arg) m_add_id(p_parent, s->id); m_add_string(p_parent, "Error reading body"); m_close(p_parent); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); return; } @@ -559,25 +559,25 @@ mda_io(struct io *io, int evt, void *arg) case IO_TIMEOUT: log_debug("debug: mda: timeout on session %016"PRIx64, s->id); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); return; case IO_ERROR: log_debug("debug: mda: io error on session %016"PRIx64": %s", s->id, io_error(io)); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); return; case IO_DISCONNECTED: log_debug("debug: mda: io disconnected on session %016"PRIx64, s->id); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); return; default: log_debug("debug: mda: unexpected event on session %016"PRIx64, s->id); - io_pause(io, IO_PAUSE_OUT); + io_pause(io, IO_OUT); return; } } |