commit 08a0a0113440d0f80b5f68c596c50e3188b8f9e1
parent 7b88e45958cc7502ab58523d56d8609c536de4d8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 19:15:00 +0200
remove extra newline between link to Atom feeds
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/stagit-gopher.c b/stagit-gopher.c
@@ -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);