aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/rspamadm.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 17:57:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 17:57:13 +0000
commit3f00d108df7c99edd5cb45e34d232a80e159caa3 (patch)
tree1095abc2ae37c9020eeb3ea7af2b87cd16f3c1de /src/rspamadm/rspamadm.c
parentb13907192f14c0a5171b225c21ffbcedfec3d501 (diff)
downloadrspamd-3f00d108df7c99edd5cb45e34d232a80e159caa3.tar.gz
rspamd-3f00d108df7c99edd5cb45e34d232a80e159caa3.zip
[Project] Adopt plugins, workers, rspamadm and rspamc for http_context
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r--src/rspamadm/rspamadm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index ef52af1e3..c0bb4bc72 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -436,6 +436,7 @@ main (gint argc, gchar **argv, gchar **env)
(void) dns_resolver_init (rspamd_main->logger,
rspamd_main->ev_base,
cfg);
+ rspamd_main->http_ctx = rspamd_http_context_create (cfg, rspamd_main->ev_base);
g_log_set_default_handler (rspamd_glib_log_function, rspamd_main->logger);
g_set_printerr_handler (rspamd_glib_printerr_function);