summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue.c
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 11:27:08 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 11:27:08 +0000
commitd16a9b686f613890c2a4cfeeabfd66e483f01f13 (patch)
tree8361da5258d5a6e59469db3dc486700b9427a268 /usr.sbin/smtpd/queue.c
parentca6ac1018c8ae37217bcee6decb65c6819dc0b73 (diff)
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".
Diffstat (limited to 'usr.sbin/smtpd/queue.c')
-rw-r--r--usr.sbin/smtpd/queue.c4
1 files changed, 2 insertions, 2 deletions
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 <jacekm@dobremiasto.net>
@@ -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);