diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-17 01:10:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-17 01:10:30 +0100 |
commit | 303873ebd255a8e2561183dea58158a55970c9db (patch) | |
tree | 661e135e4ff0565fdd01e8da73e7991f8b452fba /src/libutil | |
parent | 99fbd67098f6cd100d50e16cb305d5ab7d847bf9 (diff) | |
download | rspamd-303873ebd255a8e2561183dea58158a55970c9db.tar.gz rspamd-303873ebd255a8e2561183dea58158a55970c9db.zip |
Add compatibility for old libevent.
Issue: #109
Suggested by: @yellowman
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index db48bd6de..70564668c 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -568,7 +568,7 @@ rspamd_http_simple_client_helper (struct rspamd_http_connection *conn) { struct event_base *base; - base = event_get_base (&conn->priv->ev); + base = conn->priv->ev.ev_base; rspamd_http_connection_reset (conn); /* Plan read message */ rspamd_http_connection_read_message (conn, conn->ud, conn->fd, |