aboutsummaryrefslogtreecommitdiffstats
path: root/src/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.c')
-rw-r--r--src/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.c b/src/logger.c
index 9bd3ce3f0..55a7f0fe5 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -249,7 +249,7 @@ rspamd_set_logger (enum rspamd_log_type type, enum process_type ptype, struct co
rspamd_log->debug_ip = radix_tree_create ();
if (!add_map (cfg->debug_ip_map, read_radix_list, fin_radix_list, (void **)&rspamd_log->debug_ip)) {
/* Try to parse it as list */
- strvec = g_strsplit (cfg->debug_ip_map, ",; ", 0);
+ strvec = g_strsplit_set (cfg->debug_ip_map, ",; ", 0);
num = g_strv_length (strvec);
for (i = 0; i < num; i++) {