summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 19:34:09 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 19:34:09 +0400
commit054e575684fe7cc8e4d753b2c460193a21bae6a4 (patch)
tree93c779335d8d20b8b9d98781b7d77105efaabcb4 /src/plugins
parent34ae83f0151a3fd31f4c045968defa39a2c40985 (diff)
downloadrspamd-054e575684fe7cc8e4d753b2c460193a21bae6a4.tar.gz
rspamd-054e575684fe7cc8e4d753b2c460193a21bae6a4.zip
* More debug
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index da301ddca..16ee13077 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -122,12 +122,12 @@ parse_flags_string (char *str)
int num, i, t;
struct fuzzy_mapping *map;
- strvec = g_strsplit (str, ", ;", 0);
+ strvec = g_strsplit_set (str, ", ;", 0);
num = g_strv_length (strvec);
for (i = 0; i < num; i ++) {
item = strvec[i];
- map_str = g_strsplit (item, ":", 3);
+ map_str = g_strsplit_set (item, ":", 3);
t = g_strv_length (map_str);
if (t != 3 && t != 2) {
msg_err ("invalid fuzzy mapping: %s", item);
@@ -165,7 +165,7 @@ parse_servers_string (char *str)
struct hostent *hent;
struct in_addr addr;
- strvec = g_strsplit (str, ",", 0);
+ strvec = g_strsplit_set (str, ",", 0);
num = g_strv_length (strvec);
fuzzy_module_ctx->servers = memory_pool_alloc0 (fuzzy_module_ctx->fuzzy_pool, sizeof (struct storage_server) * num);