diff options
author | 2016-06-06 20:48:15 +0000 | |
---|---|---|
committer | 2016-06-06 20:48:15 +0000 | |
commit | 9e44294fc922f855f676d4b00c3e707ce845bf12 (patch) | |
tree | 00795576093c4aa568df6a71d03aae80f0186d49 | |
parent | Add ERRORS section, from FreeBSD. OK tedu@ (diff) | |
download | wireguard-openbsd-9e44294fc922f855f676d4b00c3e707ce845bf12.tar.xz wireguard-openbsd-9e44294fc922f855f676d4b00c3e707ce845bf12.zip |
do not return on EAGAIN otherwise the event is never reloaded.
ok gilles@
-rw-r--r-- | usr.sbin/smtpd/mproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/mproc.c b/usr.sbin/smtpd/mproc.c index f422b6bb2d2..a1c0336a4a5 100644 --- a/usr.sbin/smtpd/mproc.c +++ b/usr.sbin/smtpd/mproc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mproc.c,v 1.19 2016/03/25 15:06:58 krw Exp $ */ +/* $OpenBSD: mproc.c,v 1.20 2016/06/06 20:48:15 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@faurot.net> @@ -160,7 +160,7 @@ mproc_dispatch(int fd, short event, void *arg) switch (n) { case -1: if (errno == EAGAIN) - return; + break; log_warn("warn: %s -> %s: imsg_read", proc_name(smtpd_process), p->name); fatal("exiting"); |