style: write atom feed end in one write, kills 2 lines - stagit-gopher - A git gopher frontend. (mirror) (HTM) 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 f5301b25e1f78db67031354bfc0cb76ffe60000e (DIR) parent 1a3584e2d0689aece46d9832c91f57723296807f (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 2 May 2016 21:23:17 +0200 style: write atom feed end in one write, kills 2 lines Diffstat: M stagit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- (DIR) diff --git a/stagit.c b/stagit.c @@ -668,9 +668,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci) fputc('\n', fp); xmlencode(fp, ci->msg, strlen(ci->msg)); } - fputs("\n</content>\n", fp); - - fputs("</entry>\n", fp); + fputs("\n</content>\n</entry>\n", fp); } int