X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ccba7eb9d0c43ffe99178ab6632dc3794f887309..4dee601bb6042cf7db2472b9c34530850345f680:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 7cf7638..d12e3dd 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -20,7 +20,7 @@ static time_t read_agefile(const char *path) if (readfile(path, &buf, &size)) { free(buf); - return -1; + return 0; } if (parse_date(buf, &date_buf) == 0) @@ -321,7 +321,7 @@ void cgit_print_repolist(void) } htmlf("", !sorted && section ? "sublevel-repo" : "toplevel-repo"); - cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); + cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); html(""); repourl = cgit_repourl(ctx.repo->url); html_link_open(repourl, NULL, NULL);