From: Vsevolod Stakhov Date: Mon, 21 Sep 2015 14:49:48 +0000 (+0100) Subject: Set event base for fuzzy calls. X-Git-Tag: 1.0.1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=109250260129d885e879e35e6bc8b7a50b7c8b0a;p=thirdparty%2Frspamd.git Set event base for fuzzy calls. --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index a2e03a16d7..f27c0ee5a1 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;