diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-04 13:38:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-04 13:38:10 +0100 |
commit | 6c76c1728c81e25be854e36cd9def1d689536b27 (patch) | |
tree | 6c31c5e132be7169704b50670ef7810703124819 /src/fuzzy_storage.c | |
parent | 39dfdab80d11c6bc7b10f37d819414358d5249f9 (diff) | |
download | rspamd-6c76c1728c81e25be854e36cd9def1d689536b27.tar.gz rspamd-6c76c1728c81e25be854e36cd9def1d689536b27.zip |
[Minor] Strictly check worker context magic
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index ef2afac4b..d0d69c83c 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -1895,6 +1895,7 @@ start_fuzzy (struct rspamd_worker *worker) struct rspamd_srv_command srv_cmd; struct rspamd_config *cfg = worker->srv->cfg; + g_assert (rspamd_worker_check_context (worker->ctx, rspamd_fuzzy_storage_magic)); ctx->event_loop = rspamd_prepare_worker (worker, "fuzzy", NULL); |