diff options
Diffstat (limited to 'src/webui.c')
-rw-r--r-- | src/webui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webui.c b/src/webui.c index 99cb95ec0..c7441461d 100644 --- a/src/webui.c +++ b/src/webui.c @@ -1812,7 +1812,8 @@ start_webui_worker (struct rspamd_worker *worker) } /* Accept event */ ctx->http = rspamd_http_router_new (rspamd_webui_error_handler, - rspamd_webui_finish_handler, &ctx->io_tv, ctx->ev_base); + rspamd_webui_finish_handler, &ctx->io_tv, ctx->ev_base, + NULL); /* Add callbacks for different methods */ rspamd_http_router_add_path (ctx->http, PATH_AUTH, rspamd_webui_handle_auth); |