remove extra newline between link to Atom feeds - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 08a0a0113440d0f80b5f68c596c50e3188b8f9e1 DIR parent 7b88e45958cc7502ab58523d56d8609c536de4d8 HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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(-) --- DIR 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);