From 6d7552bc072599313ef423d69156d824c075572a Mon Sep 17 00:00:00 2001
From: Lars Hjemli
Date: Sun, 22 Aug 2010 13:29:57 +0200
Subject: Use GIT-1.7.2.2

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
 cgit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cgit.c')

diff --git a/cgit.c b/cgit.c
index 4f2c752..d6146e2 100644
--- a/cgit.c
+++ b/cgit.c
@@ -22,7 +22,7 @@ void add_mimetype(const char *name, const char *value)
 {
 	struct string_list_item *item;
 
-	item = string_list_insert(xstrdup(name), &ctx.cfg.mimetypes);
+	item = string_list_insert(&ctx.cfg.mimetypes, xstrdup(name));
 	item->util = xstrdup(value);
 }
 
-- 
cgit v1.2.3-54-g00ecf