remove extra newline between link to Atom feeds - stagit-gopher - A git gopher … | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 08a0a0113440d0f80b5f68c596c50e3188b8f9e1 | |
parent 7b88e45958cc7502ab58523d56d8609c536de4d8 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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", relpat… | |
+ 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); | |