style: write atom feed end in one write, kills 2 lines - stagit-gopher - A git … | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f5301b25e1f78db67031354bfc0cb76ffe60000e | |
parent 1a3584e2d0689aece46d9832c91f57723296807f | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 |