diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2013-11-26 12:01:41 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2013-11-26 12:01:41 +0000 |
commit | 5d2345ca54990bdd18fb687113669417fcb7048d (patch) | |
tree | d28041b45b09917050c3f297ce42c1c334b5ace8 /usr.sbin/smtpd | |
parent | a3343ace33ee25b983ace5f86f5d45a2974c6816 (diff) |
deal with msgbuf_write EAGAIN, ok gilles benno
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/enqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c index 24f9abde637..ab095aa790d 100644 --- a/usr.sbin/smtpd/enqueue.c +++ b/usr.sbin/smtpd/enqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enqueue.c,v 1.69 2013/10/25 21:31:23 eric Exp $ */ +/* $OpenBSD: enqueue.c,v 1.70 2013/11/26 12:01:40 henning Exp $ */ /* * Copyright (c) 2005 Henning Brauer <henning@bulabula.org> @@ -705,7 +705,7 @@ open_connection(void) imsg_compose(ibuf, IMSG_SMTP_ENQUEUE_FD, IMSG_VERSION, 0, -1, NULL, 0); while (ibuf->w.queued) - if (msgbuf_write(&ibuf->w) < 0) + if (msgbuf_write(&ibuf->w) < 0 && errno != EAGAIN) err(1, "write error"); while (1) { |