]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 27 Apr 2006 22:47:20 +0000 (22:47 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Apr 2006 22:47:20 +0000 (22:47 +0000)
servers/slapd/overlays/accesslog.c

index 06f3962250a690025c5da9765cb1f21a26052925..c0454cf20032caf170c73123af0d535b3c1d972c 100644 (file)
@@ -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;
 }