From: Howard Chu Date: Thu, 27 Apr 2006 22:47:20 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~125 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32712f4c26b778a381fe78f4a4012a8b4f680fcd;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 06f3962250..c0454cf200 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -443,6 +443,9 @@ log_age_parse(char *agestr) return -1; t1 *= 60; t1 += atoi( agestr ); + } else if ( gotdays ) { + /* only got days+hh:mm */ + t1 *= 60; } return t1; }