aboutsummaryrefslogtreecommitdiff
path: root/ui-shared.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 4818e70..37c60b2 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -258,12 +258,6 @@ void cgit_tree_link(char *name, char *title, char *class, char *head,
reporevlink("tree", name, title, class, head, rev, path);
}
-void cgit_plain_link(char *name, char *title, char *class, char *head,
- char *rev, char *path)
-{
- reporevlink("plain", name, title, class, head, rev, path);
-}
-
void cgit_log_link(char *name, char *title, char *class, char *head,
char *rev, char *path, int ofs, char *grep, char *pattern)
{
@@ -439,8 +433,6 @@ void cgit_print_http_headers(struct cgit_context *ctx)
ctx->page.charset);
else if (ctx->page.mimetype)
htmlf("Content-Type: %s\n", ctx->page.mimetype);
- if (ctx->page.size)
- htmlf("Content-Length: %ld\n", ctx->page.size);
if (ctx->page.filename)
htmlf("Content-Disposition: inline; filename=\"%s\"\n",
ctx->page.filename);