From 346dd126a746335d8839b8066a90f368edd554be Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 17 May 2013 14:03:06 -0300 Subject: Fixed 2 clang warnings Special Thanks to mkbu95! Signed-off-by: shennetsind --- src/common/mapindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/mapindex.c b/src/common/mapindex.c index 4649e299d..b693fe12d 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -148,7 +148,7 @@ void mapindex_init(void) { exit(EXIT_FAILURE); //Server can't really run without this file. } memset (&indexes, 0, sizeof (indexes)); - mapindex_db = strdb_alloc(DB_RELEASE_KEY, MAP_NAME_LENGTH); + mapindex_db = strdb_alloc(DB_OPT_RELEASE_KEY, MAP_NAME_LENGTH); while(fgets(line, sizeof(line), fp)) { if(line[0] == '/' && line[1] == '/') continue; -- cgit v1.2.3-70-g09d2