From: Vsevolod Stakhov Date: Tue, 1 Oct 2013 14:52:47 +0000 (+0100) Subject: Prepend worker conf to the list of workers. X-Git-Tag: 0.6.0~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5be616c47a8ba45f2b64e14a0c3975c84b83154d;p=rspamd.git Prepend worker conf to the list of workers. --- 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; }