X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806..bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5:/ui-repolist.c?ds=inline diff --git a/ui-repolist.c b/ui-repolist.c index 2c98668..e138f59 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;