X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9c8be943f72b6f1bda5a31ce401899c3dd734e98..011f2e9bdddcbfe65da397629bca87d167313a28:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 87196f0..3aedde5 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -23,6 +23,7 @@ time_t read_agefile(char *path) if (!(f = fopen(path, "r"))) return -1; + buf[0] = 0; if (fgets(buf, sizeof(buf), f) == NULL) return -1; fclose(f); @@ -257,7 +258,7 @@ void cgit_print_repolist() html("