From d16a9b686f613890c2a4cfeeabfd66e483f01f13 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Tue, 1 Jun 2010 11:27:08 +0000 Subject: It's lasttry + 1 because I initially thought passing identical birth and lasttry args to queue_retry would make it return birth leading looped scheduling, but that's not true so drop the "+ 1". --- usr.sbin/smtpd/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c index 0d930e67b38..fb54886a95b 100644 --- a/usr.sbin/smtpd/queue.c +++ b/usr.sbin/smtpd/queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue.c,v 1.82 2010/05/31 23:38:56 jacekm Exp $ */ +/* $OpenBSD: queue.c,v 1.83 2010/06/01 11:27:07 jacekm Exp $ */ /* * Copyright (c) 2008-2010 Jacek Masiulaniec @@ -752,7 +752,7 @@ queue_mem_init(struct smtpd *env) else rq = Q_LOCAL; - b->retry = queue_retry(rq, a.birth, a.birth + 1); + b->retry = queue_retry(rq, a.birth, a.birth); while (b->retry < time(NULL)) b->retry = queue_retry(rq, a.birth, b->retry); -- cgit v1.2.3