]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Merge branch 'fh/filter-api'
[ps-cgit] / ui-repolist.c
index 05b4548fab2f0a4de2230e5f46ece7c90588a91f..6f304bb36006834da65a319da5163ffe6b1bed60 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;