From a7dd8c5f08f3e5c30cafdd8bcb4cc3f344e2d5cd Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 26 Dec 2015 12:56:56 +0100 Subject: [PATCH] align filesize header right, minor code-style --- urmoms.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/urmoms.c b/urmoms.c index 2f80d61..ad11cc0 100644 --- a/urmoms.c +++ b/urmoms.c @@ -561,8 +561,8 @@ writeatom(FILE *fp) git_oid id; size_t i, m = 100; /* max */ - fputs("\n", fp); - fputs("\n", fp); + fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<feed xmlns=\"http://www.w3.org/2005/Atom\">\n<title>", fp); xmlencode(fp, name, strlen(name)); fputs(", branch master\n", fp); @@ -696,9 +696,9 @@ writefiles(FILE *fp) git_object *obj = NULL; git_commit *commit = NULL; - fputs("\n" - "\n" - "\n", fp); + fputs("
ModeNameSize
\n" + "" + "\n\n", fp); if (git_revparse_single(&obj, repo, "HEAD")) return -1; -- libgit2 1.1.1
ModeNameSize