Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index f49fffa..497337b 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -186,8 +186,9 @@ static void prepare_context(struct cgit_context *ctx) |
186 | ctx->cfg.summary_tags = 10; |
186 | ctx->cfg.summary_tags = 10; |
187 | ctx->page.mimetype = "text/html"; |
187 | ctx->page.mimetype = "text/html"; |
188 | ctx->page.charset = PAGE_ENCODING; |
188 | ctx->page.charset = PAGE_ENCODING; |
189 | ctx->page.filename = NULL; |
189 | ctx->page.filename = NULL; |
| |
190 | ctx->page.size = 0; |
190 | ctx->page.modified = time(NULL); |
191 | ctx->page.modified = time(NULL); |
191 | ctx->page.expires = ctx->page.modified; |
192 | ctx->page.expires = ctx->page.modified; |
192 | } |
193 | } |
193 | |
194 | |
|