summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-05-02 21:23:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-05-02 21:25:44 +0200
commitf5301b25e1f78db67031354bfc0cb76ffe60000e (patch)
treefc71339412036a3605e516f4b0714e2655783d10
parent1a3584e2d0689aece46d9832c91f57723296807f (diff)
style: write atom feed end in one write, kills 2 lines
-rw-r--r--stagit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stagit.c b/stagit.c
index 158447d..1e4d1bb 100644
--- 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