From 1754914e591ec09b651f1007b003123006860581 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Sat, 14 Feb 2009 17:49:10 +0000 Subject: Initialize time_t now as necessary, fixes delivery rescheduling; ok gilles@ --- usr.sbin/smtpd/runner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c index 9acb8f94e75..616ef2d869a 100644 --- a/usr.sbin/smtpd/runner.c +++ b/usr.sbin/smtpd/runner.c @@ -1,4 +1,4 @@ -/* $OpenBSD: runner.c,v 1.28 2009/01/29 21:59:15 jacekm Exp $ */ +/* $OpenBSD: runner.c,v 1.29 2009/02/14 17:49:09 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -496,6 +496,7 @@ runner_process_queue(struct smtpd *env) time_t now; struct qwalk *q; + now = time(NULL); q = qwalk_new(PATH_QUEUE); while (qwalk(q, path)) { -- cgit v1.2.3