summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-03-03 11:11:56 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-03-03 11:11:56 +0000
commit143d9817806b1966807c1bfb9d2b89832c5e7c5a (patch)
treeaa7ffb67adc3fd379471554dcd4ebe4cbead025e /usr.sbin
parent28b10f686095930a384cf200173248bb169def18 (diff)
tweak mda.c rev. 1.36: eliminate risk of busy waiting for socket
to become writable, and make code more idiomatic. tested by nicm@ ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index ab75dd46fb4..1307940452b 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.169 2010/02/17 13:47:31 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.170 2010/03/03 11:11:55 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -482,8 +482,7 @@ struct batch {
FILE *mboxfp;
FILE *datafp;
- void *rbuf;
- int rbufsz;
+ struct msgbuf w;
int cleanup_parent;
struct event ev;
};