summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/mda.c')
-rw-r--r--usr.sbin/smtpd/mda.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mda.c b/usr.sbin/smtpd/mda.c
index d0ed665bc6f..b1fb9bf42af 100644
--- a/usr.sbin/smtpd/mda.c
+++ b/usr.sbin/smtpd/mda.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mda.c,v 1.15 2009/04/28 21:27:25 jacekm Exp $ */
+/* $OpenBSD: mda.c,v 1.16 2009/05/14 15:05:12 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -429,8 +429,8 @@ mda(struct smtpd *env)
signal(SIGPIPE, SIG_IGN);
signal(SIGHUP, SIG_IGN);
- config_pipes(env, peers, 3);
- config_peers(env, peers, 3);
+ config_pipes(env, peers, nitems(peers));
+ config_peers(env, peers, nitems(peers));
mda_setup_events(env);
event_dispatch();