@ -42,6 +42,7 @@ char *readfile(const char *path)
if (!(f = fopen(path, "r")))
return NULL;
buf[0] = 0;
fgets(buf, MAX_PATH, f);
fclose(f);
return buf;
@ -23,6 +23,7 @@ time_t read_agefile(char *path)
return -1;
if (fgets(buf, sizeof(buf), f) == NULL)