diff options
author | June McEnroe | 2022-02-13 12:22:42 -0500 |
---|---|---|
committer | June McEnroe | 2022-02-13 12:24:41 -0500 |
commit | e4ce4fa747c246e1cfbad86c3e2b8e454146d211 (patch) | |
tree | 46ab68f7301b24184c6e2c84e0dcf0d3bbee10a3 /cgit.c | |
parent | Silence owner-info error (diff) | |
parent | git: update to v2.35.1 (diff) | |
download | cgit-e4ce4fa747c246e1cfbad86c3e2b8e454146d211.tar.gz cgit-e4ce4fa747c246e1cfbad86c3e2b8e454146d211.zip |
Merge remote-tracking branch 'ch/git-2-35'
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c index 8a76c84..40a266b 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -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) |