From: Howard Chu Date: Tue, 25 Apr 2006 10:24:54 +0000 (+0000) Subject: Fix log_age_parse days parsing X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~153 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94c3bc332df5a46758a678c50a6b2b276e8d754f;p=openldap Fix log_age_parse days parsing --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index bd61096dbb..ebae343bed 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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 */