summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
authorLars Hjemli <hjemli@gmail.com>2007-05-14 22:22:03 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-14 22:22:17 (UTC)
commit6fb7d09fea94b3dd6932469283358cb24f1e7e29 (patch) (side-by-side diff)
treeef8b1954a585006746bf528962f122d8fb3f597c /ui-shared.c
parent495e39677326284ea13b2f6d76195d6800c2a450 (diff)
downloadcgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.zip
cgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.tar.gz
cgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.tar.bz2
ui-shared.c: fix whitespace breakage
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index bca50aa..6f5cf2b 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -80,25 +80,24 @@ char *cgit_currurl()
return fmt("%s/", cgit_virtual_root);
}
void cgit_print_date(unsigned long secs)
{
char buf[32];
struct tm *time;
time = gmtime(&secs);
strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time);
html_txt(buf);
-
}
void cgit_print_docstart(char *title, struct cacheitem *item)
{
html("Content-Type: text/html; charset=utf-8\n");
htmlf("Last-Modified: %s\n", http_date(item->st.st_mtime));
htmlf("Expires: %s\n", http_date(item->st.st_mtime +
ttl_seconds(item->ttl)));
html("\n");
html(cgit_doctype);
html("<html>\n");
html("<head>\n");