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