summaryrefslogtreecommitdiffabout
path: root/ui-patch.c
authorLars Hjemli <hjemli@gmail.com>2008-12-30 11:29:50 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-12-30 11:29:50 (UTC)
commit50fbd46c917a06f60235da59adb860697ea94eb0 (patch) (side-by-side diff)
treebad905b9ac5f8aa63350ef5195eac26fd7fc2ba8 /ui-patch.c
parent06de14d0fdb141feab10383ba18c0e81d56f483b (diff)
parent03afc5fe1fe70b6e44b60708c89708060e6d5a90 (diff)
downloadcgit-50fbd46c917a06f60235da59adb860697ea94eb0.zip
cgit-50fbd46c917a06f60235da59adb860697ea94eb0.tar.gz
cgit-50fbd46c917a06f60235da59adb860697ea94eb0.tar.bz2
Merge branch 'stable'
Diffstat (limited to 'ui-patch.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-patch.c b/ui-patch.c
index e60877d..1d77336 100644
--- a/ui-patch.c
+++ b/ui-patch.c
@@ -100,11 +100,11 @@ void cgit_print_patch(char *hex)
ctx.page.mimetype = "text/plain";
ctx.page.filename = patchname;
cgit_print_http_headers(&ctx);
htmlf("From %s Mon Sep 17 00:00:00 2001\n", sha1_to_hex(sha1));
- htmlf("From: %s%s\n", info->author, info->author_email);
+ htmlf("From: %s %s\n", info->author, info->author_email);
html("Date: ");
- cgit_print_date(info->author_date, "%a, %d %b %Y %H:%M:%S %z%n", ctx.cfg.local_time);
+ cgit_print_date(info->author_date, "%a, %d %b %Y %H:%M:%S %z%n", ctx.cfg.local_time);
htmlf("Subject: %s\n\n", info->subject);
if (info->msg && *info->msg) {
htmlf("%s", info->msg);
if (info->msg[strlen(info->msg) - 1] != '\n')