summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-17 14:03:06 -0300
committershennetsind <ind@henn.et>2013-05-17 14:03:06 -0300
commit346dd126a746335d8839b8066a90f368edd554be (patch)
treea493e52e765879a1f8d9ee694181b5c6626ba29c /src/common
parent5cf4b520176e588904a2aee6f84774ad5492780e (diff)
downloadhercules-346dd126a746335d8839b8066a90f368edd554be.tar.gz
hercules-346dd126a746335d8839b8066a90f368edd554be.tar.bz2
hercules-346dd126a746335d8839b8066a90f368edd554be.tar.xz
hercules-346dd126a746335d8839b8066a90f368edd554be.zip
Fixed 2 clang warnings
Special Thanks to mkbu95! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mapindex.c2
1 files changed, 1 insertions, 1 deletions
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;