From 039682377257692afd59a90965f7922a04a6af32 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 19 Sep 2015 01:39:31 -0400 Subject: [PATCH] [fix] geodb path separator --- src/geodb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/geodb.c b/src/geodb.c index 13e897f0..5b558ed8 100644 --- a/src/geodb.c +++ b/src/geodb.c @@ -61,7 +61,7 @@ geodb_t *geodb_init(char *dir) { char_array_clear(path); - char_array_cat_joined(path, PATH_SEPARATOR, PATH_SEPARATOR_LEN, true, 2, dir, GEODB_BLOOM_FILTER_FILENAME); + char_array_cat_joined(path, PATH_SEPARATOR, true, 2, dir, GEODB_BLOOM_FILTER_FILENAME); char *bloom_path = char_array_get_string(path); @@ -72,13 +72,13 @@ geodb_t *geodb_init(char *dir) { char_array_clear(path); - char_array_cat_joined(path, PATH_SEPARATOR, PATH_SEPARATOR_LEN, true, 2, dir, GEODB_HASH_FILENAME); + char_array_cat_joined(path, PATH_SEPARATOR, true, 2, dir, GEODB_HASH_FILENAME); char *hash_file_path = strdup(char_array_get_string(path)); char_array_clear(path); - char_array_cat_joined(path, PATH_SEPARATOR, PATH_SEPARATOR_LEN, true, 2, dir, GEODB_LOG_FILENAME); + char_array_cat_joined(path, PATH_SEPARATOR, true, 2, dir, GEODB_LOG_FILENAME); char *log_path = char_array_get_string(path);