INN commit: trunk/contrib (makeexpctl.in)
INN Commit
Russ_Allbery at isc.org
Tue Sep 18 12:10:12 UTC 2007
Date: Tuesday, September 18, 2007 @ 05:10:12
Author: iulius
Revision: 7681
The $oldtime variable was not defined.
Modified:
trunk/contrib/makeexpctl.in
---------------+
makeexpctl.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: makeexpctl.in
===================================================================
--- makeexpctl.in 2007-09-18 11:48:29 UTC (rev 7680)
+++ makeexpctl.in 2007-09-18 12:10:12 UTC (rev 7681)
@@ -5,8 +5,11 @@
# scale factor to use to adjust expires.
$readfile="$inn::pathdb/readgroups";
+$expirectl=$inn::expirectl;
-$expirectl=$inn::expirectl;
+$curtime = time;
+$oldtime = $curtime - 30 * 86400; # 30 days in the past
+
if (open(RDF, $readfile)) {
while (<RDF>) {
chop;
More information about the inn-committers
mailing list