diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-06 08:32:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-06 08:32:21 +0100 |
commit | 07b8d8cb2d14a357f196afcb42aa8469b43a6167 (patch) | |
tree | 73a56583201f9fb293a141406a1fdf615facd1c1 /src/worker.c | |
parent | 5edc6c8a10ad9f325d6e6bc1b0d4aed12e58a9e1 (diff) | |
download | rspamd-07b8d8cb2d14a357f196afcb42aa8469b43a6167.tar.gz rspamd-07b8d8cb2d14a357f196afcb42aa8469b43a6167.zip |
[Rework] Allow to use custom callback for monitored checks
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 49336e22d..8cf2f5fe8 100644 --- a/src/worker.c +++ b/src/worker.c @@ -604,7 +604,7 @@ rspamd_worker_init_scanner (struct rspamd_worker *worker, struct rspamd_dns_resolver *resolver) { rspamd_monitored_ctx_config (worker->srv->cfg->monitored_ctx, - worker->srv->cfg, ev_base, resolver->r); + worker->srv->cfg, ev_base, resolver->r, NULL, NULL); rspamd_stat_init (worker->srv->cfg, ev_base); g_ptr_array_add (worker->finish_actions, (gpointer) rspamd_worker_on_terminate); |