diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-20 12:11:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-20 12:11:33 +0000 |
commit | 64604af61d3f1d8a7ada3eabe5fa62611620d16b (patch) | |
tree | e79b8d542420c6c16947f326d1b023ff7701fa58 /src/libutil | |
parent | 1dcc9a69cc63708cb30899202ddd945ff64844f0 (diff) | |
download | rspamd-64604af61d3f1d8a7ada3eabe5fa62611620d16b.tar.gz rspamd-64604af61d3f1d8a7ada3eabe5fa62611620d16b.zip |
[Minor] Fix crash
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/http_router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/http_router.c b/src/libutil/http_router.c index be45c4351..e9dc48962 100644 --- a/src/libutil/http_router.c +++ b/src/libutil/http_router.c @@ -389,6 +389,7 @@ rspamd_http_router_new (rspamd_http_router_error_handler_t eh, new->finish_handler = fh; new->response_headers = g_hash_table_new_full (rspamd_strcase_hash, rspamd_strcase_equal, g_free, g_free); + new->ev_base = ctx->ev_base; if (timeout) { new->tv = *timeout; |