aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 0adc77173..dd6f55fff 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -710,7 +710,7 @@ controller_read_socket (f_str_t * in, void *arg)
switch (session->state) {
case STATE_COMMAND:
s = fstrcstr (in, session->session_pool);
- params = g_strsplit (s, " ", -1);
+ params = g_strsplit_set (s, " ", -1);
memory_pool_add_destructor (session->session_pool, (pool_destruct_func) g_strfreev, params);