]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Merge branch 'stable'
[ps-cgit] / ui-repolist.c
index 25f076fd3198cac33bca32dcceea423e4d9af30c..6d2f93ffc05444b4ca34c17632c5f4f05e6a347d 100644 (file)
@@ -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);