From 94c3bc332df5a46758a678c50a6b2b276e8d754f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 25 Apr 2006 10:24:54 +0000 Subject: [PATCH] Fix log_age_parse days parsing --- servers/slapd/overlays/accesslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5