summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/mta.c')
-rw-r--r--usr.sbin/smtpd/mta.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 27f2d543e5f..cf39a9ca47d 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.46 2009/05/13 21:29:16 jacekm Exp $ */
+/* $OpenBSD: mta.c,v 1.47 2009/05/14 15:05:12 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -505,8 +505,8 @@ mta(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));
SPLAY_INIT(&env->batch_queue);