aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-01 15:52:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-01 15:52:47 +0100
commit5be616c47a8ba45f2b64e14a0c3975c84b83154d (patch)
treeda3e36d17b42ba43d11e6eeb3abac73fc9f8799e
parent085a720344b7019a1d44b356388e7ec009e1e0e4 (diff)
downloadrspamd-5be616c47a8ba45f2b64e14a0c3975c84b83154d.tar.gz
rspamd-5be616c47a8ba45f2b64e14a0c3975c84b83154d.zip
Prepend worker conf to the list of workers.
-rw-r--r--src/cfg_rcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_rcl.c b/src/cfg_rcl.c
index bf1b8ad70..9fc4e553e 100644
--- a/src/cfg_rcl.c
+++ b/src/cfg_rcl.c
@@ -441,6 +441,8 @@ rspamd_rcl_worker_handler (struct config_file *cfg, rspamd_cl_object_t *obj,
}
}
+ cfg->workers = g_list_prepend (cfg->workers, wrk);
+
return TRUE;
}