summaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-07 10:06:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-07 10:06:56 +0000
commitfb1e7c4be20e30275b2dbd38e1bf2990d393fb38 (patch)
tree29c70ad9095af9b8a7b2b3d44228a186ab87402f /src/libserver/worker_util.c
parent3f13d91f8e51d4f99750733d627a7930c9646ebc (diff)
downloadrspamd-fb1e7c4be20e30275b2dbd38e1bf2990d393fb38.tar.gz
rspamd-fb1e7c4be20e30275b2dbd38e1bf2990d393fb38.zip
[Fix] Fix macro name
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r--src/libserver/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 0f7c67579..8bdc626fd 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -289,7 +289,7 @@ rspamd_prepare_worker (struct rspamd_worker *worker, const char *name,
rspamd_worker_init_signals (worker, ev_base);
rspamd_control_worker_add_default_handler (worker, ev_base);
-#ifdef ENABLE_HIREDIS
+#ifdef WITH_HIREDIS
rspamd_redis_pool_config (worker->srv->cfg->redis_pool,
worker->srv->cfg, ev_base);
#endif