summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 210bbb5f7..1f78b5ca3 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -48,7 +48,7 @@ parse_host_port (const gchar *str, struct in_addr *ina, uint16_t *port)
struct hostent *hent;
unsigned int port_parsed, saved_errno = errno;
- tokens = g_strsplit (str, ":", 0);
+ tokens = g_strsplit_set (str, ":", 0);
if (!tokens || !tokens[0]) {
return FALSE;
}
@@ -437,7 +437,7 @@ parse_filters_str (struct config_file *cfg, const gchar *str)
return;
}
- strvec = g_strsplit (str, ",", 0);
+ strvec = g_strsplit_set (str, ",", 0);
if (strvec == NULL) {
return;
}