Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/cgit.c b/cgit.c index 6c7e811..ad62d10 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -20,9 +20,9 @@ const char *cgit_version = CGIT_VERSION; |
20 | void add_mimetype(const char *name, const char *value) |
20 | void add_mimetype(const char *name, const char *value) |
21 | { |
21 | { |
22 | struct string_list_item *item; |
22 | struct string_list_item *item; |
23 | |
23 | |
24 | item = string_list_insert(xstrdup(name), &ctx.cfg.mimetypes); |
24 | item = string_list_insert(&ctx.cfg.mimetypes, xstrdup(name)); |
25 | item->util = xstrdup(value); |
25 | item->util = xstrdup(value); |
26 | } |
26 | } |
27 | |
27 | |
28 | struct cgit_filter *new_filter(const char *cmd, int extra_args) |
28 | struct cgit_filter *new_filter(const char *cmd, int extra_args) |
|