summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-21 15:49:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-21 15:49:48 +0100
commit109250260129d885e879e35e6bc8b7a50b7c8b0a (patch)
tree2414c1bb71e9f75b6c58a5165cc6e4cc4428c0aa /src
parent8b79a2907e9f0d9e0b633ae4fd89ac38619c5814 (diff)
downloadrspamd-109250260129d885e879e35e6bc8b7a50b7c8b0a.tar.gz
rspamd-109250260129d885e879e35e6bc8b7a50b7c8b0a.zip
Set event base for fuzzy calls.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fuzzy_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index a2e03a16d..f27c0ee5a 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1106,6 +1106,7 @@ register_fuzzy_client_call (struct rspamd_task *task,
sizeof (struct fuzzy_client_session));
event_set (&session->ev, sock, EV_WRITE, fuzzy_io_callback,
session);
+ event_base_set (session->task->ev_base, &session->ev);
msec_to_tv (fuzzy_module_ctx->io_timeout, &session->tv);
session->state = 0;
session->commands = commands;