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/hs_helper.c | |
parent | 39dfdab80d11c6bc7b10f37d819414358d5249f9 (diff) | |
download | rspamd-6c76c1728c81e25be854e36cd9def1d689536b27.tar.gz rspamd-6c76c1728c81e25be854e36cd9def1d689536b27.zip |
[Minor] Strictly check worker context magic
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r-- | src/hs_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c index 3cdc2a439..a20e176f6 100644 --- a/src/hs_helper.c +++ b/src/hs_helper.c @@ -303,6 +303,7 @@ start_hs_helper (struct rspamd_worker *worker) struct hs_helper_ctx *ctx = worker->ctx; double tim; + g_assert (rspamd_worker_check_context (worker->ctx, rspamd_hs_helper_magic)); ctx->cfg = worker->srv->cfg; if (ctx->hs_dir == NULL) { |