aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c
index b9ec3677c..ddac27930 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -846,9 +846,9 @@ process_normal_command (const gchar *line)
}
/*
- * Called if all filters are processed
+ * Called if all filters are processed, non-threaded and simple version
*/
-static void
+static gboolean
fin_learn_task (void *arg)
{
struct worker_task *task = (struct worker_task *) arg;
@@ -870,6 +870,8 @@ fin_learn_task (void *arg)
rspamd_dispatcher_restore (task->dispatcher);
}
}
+
+ return TRUE;
}
/*