]> git.sur5r.net Git - openldap/commitdiff
Fix log_age_parse days parsing
authorHoward Chu <hyc@openldap.org>
Tue, 25 Apr 2006 10:24:54 +0000 (10:24 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 25 Apr 2006 10:24:54 +0000 (10:24 +0000)
servers/slapd/overlays/accesslog.c

index bd61096dbbb9f8e01c5e267438b588eca0bc0c43..ebae343bed146d4bbb972bffe13b2a121a63f447 100644 (file)
@@ -401,7 +401,7 @@ log_age_parse(char *agestr)
                return -1;
        }
 
-       agestr += 3;
+       agestr = endptr + 1;
        t2 = atoi( agestr );
 
        /* if there's a delimiter, it can only be a colon */