Fix log_age_parse days parsing

This commit is contained in:
Howard Chu 2006-04-25 10:24:54 +00:00
parent 54174d3072
commit 94c3bc332d

View 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 */