Fix typo in the previous commit. Was checking wrong variable...

MFC after:	23 days
This commit is contained in:
Garance A Drosehn 2003-09-09 02:58:23 +00:00
parent 32734b8a2f
commit 5303adbf2c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119901

View File

@ -990,7 +990,7 @@ parse_file(FILE *cf, const char *cfname, struct conf_entry **work_p,
working->trim_at = parseDWM(ep + 1);
working->flags |= CE_TRIMAT;
}
if (ent->flags & CE_TRIMAT) {
if (working->flags & CE_TRIMAT) {
if (working->trim_at == (time_t)-1)
errx(1, "malformed at:\n%s", errline);
if (working->trim_at == (time_t)-2)