| Date: Sun, 19 Jul 2020 19:15:00 +0200
remove extra newline between link to Atom feeds
Diffstat:
M stagit-gopher.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- |
| @@ -1385,8 +1385,9 @@ main(int argc, char *argv[])
if (head)
writelog(fp, head);
}
- fprintf(fp, "\n[0|Atom feed|%s/atom.xml|server|port]\n", relpath);
- fprintf(fp, "\n[0|Atom feed (tags)|%s/tags.xml|server|port]\n", relpath);
+ fputs("\n", fp);
+ fprintf(fp, "[0|Atom feed|%s/atom.xml|server|port]\n", relpath);
+ fprintf(fp, "[0|Atom feed (tags)|%s/tags.xml|server|port]\n", relpath);
writefooter(fp);
fclose(fp);
|