diff options
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 873221d8c..51bcc1001 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -47,7 +47,6 @@ #define INVALID_NODE_TIME (guint64) - 1 -extern struct rspamd_main *rspamd_main; /* Init functions */ gpointer init_fuzzy (struct rspamd_config *cfg); void start_fuzzy (struct rspamd_worker *worker); @@ -559,7 +558,7 @@ start_fuzzy (struct rspamd_worker *worker) rspamd_fuzzy_backend_sync (ctx->backend, ctx->expire, TRUE); rspamd_fuzzy_backend_close (ctx->backend); - rspamd_log_close (rspamd_main->logger); + rspamd_log_close (worker->srv->logger); if (ctx->keypair_cache) { rspamd_keypair_cache_destroy (ctx->keypair_cache); |