X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c2b58ed8539fcfa4f05cc9da316bbc782f4b8f10..ab350a77b1d3b0e251cc28329f2e16f0566e521e:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 05b4548..6f304bb 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -20,7 +20,7 @@ time_t read_agefile(char *path) if (readfile(path, &buf, &size)) return -1; - if (parse_date(buf, buf2, sizeof(buf2))) + if (parse_date(buf, buf2, sizeof(buf2)) > 0) result = strtoul(buf2, NULL, 10); else result = 0;