diff options
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/mta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index 6e2c9f659af..1338471035a 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.153 2013/02/05 11:45:18 gilles Exp $ */ +/* $OpenBSD: mta.c,v 1.154 2013/02/08 13:29:09 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -304,7 +304,7 @@ mta_imsg(struct mproc *p, struct imsg *imsg) mx->host = mta_host((struct sockaddr*)&ss); mx->preference = preference; TAILQ_FOREACH(imx, &domain->mxs, entry) { - if (imx->preference >= mx->preference) { + if (imx->preference > mx->preference) { TAILQ_INSERT_BEFORE(imx, mx, entry); return; } |