aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-29 15:02:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-29 15:02:51 +0000
commit505e9556c01fe56a73e5582d33cc492c4a1815d1 (patch)
tree13affe4bfb35bd18b053119f4ebd509447099e59 /src/worker.c
parent0088e71daa30e76061c88a582c7094fa888eabc0 (diff)
downloadrspamd-505e9556c01fe56a73e5582d33cc492c4a1815d1.tar.gz
rspamd-505e9556c01fe56a73e5582d33cc492c4a1815d1.zip
Fix build.
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index c562528a3..afd9a9b72 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -318,6 +318,8 @@ start_worker (struct rspamd_worker *worker)
ctx->ev_base,
worker->srv->cfg);
+ rspamd_upstreams_library_init (ctx->resolver->r, ctx->ev_base);
+
/* Create classify pool */
ctx->classify_pool = NULL;
if (ctx->classify_threads > 1) {