aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 69b5608e7..4133aad12 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -982,6 +982,7 @@ start_controller (struct rspamd_worker *worker)
}
comp = g_completion_new (completion_func);
g_completion_add_items (comp, comp_list);
+ g_completion_set_compare (comp, g_ascii_strncasecmp);
/* Fill hostname buf */
hostmax = sysconf (_SC_HOST_NAME_MAX) + 1;
hostbuf = alloca (hostmax);