diff options
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 9733bda3f..49b52205b 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -486,7 +486,7 @@ rspamd_fork_worker (struct rspamd_main *rspamd_main, event_base_free (rspamd_main->ev_base); /* Lock statfile pool if possible XXX */ /* Init PRNG after fork */ - rc = ottery_init (NULL); + rc = ottery_init (rspamd_main->cfg->libs_ctx->ottery_cfg); if (rc != OTTERY_ERR_NONE) { msg_err_main ("cannot initialize PRNG: %d", rc); g_assert (0); |