]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-repolist.c
Merge branch 'stable'
[cgit.git] / ui-repolist.c
index 2c98668ad931489ad54632d3c869c06de294f1cb..e138f591ae5bc1e6d62ce56d71b24fb745687d3e 100644 (file)
@@ -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;