diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ static void prepare_context(void) | |||
428 | ctx.page.modified = time(NULL); | 428 | ctx.page.modified = time(NULL); |
429 | ctx.page.expires = ctx.page.modified; | 429 | ctx.page.expires = ctx.page.modified; |
430 | ctx.page.etag = NULL; | 430 | ctx.page.etag = NULL; |
431 | string_list_init(&ctx.cfg.mimetypes, 1); | 431 | string_list_init_dup(&ctx.cfg.mimetypes); |
432 | if (ctx.env.script_name) | 432 | if (ctx.env.script_name) |
433 | ctx.cfg.script_name = xstrdup(ctx.env.script_name); | 433 | ctx.cfg.script_name = xstrdup(ctx.env.script_name); |
434 | if (ctx.env.query_string) | 434 | if (ctx.env.query_string) |