aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-07-24 12:22:14 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-07-24 12:22:14 +0100
commit207dca6a755b19d936f4ecf9afecabe08210f1b4 (patch)
treecda3ccb8365aef7f7820526945d0d46302c84f71 /src/worker_util.c
parent2c8ed95980462b03fb3ca0ae7721357952d7361b (diff)
downloadrspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.tar.gz
rspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.zip
Fix build for an old libevent.
Diffstat (limited to 'src/worker_util.c')
-rw-r--r--src/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index dd020e7cc..e8d8f7423 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -217,7 +217,7 @@ set_counter (const gchar *name, guint32 value)
struct event_base *
prepare_worker (struct rspamd_worker *worker, const char *name,
rspamd_sig_handler_t sig_handler,
- void (*accept_handler)(evutil_socket_t, short, void *))
+ void (*accept_handler)(int, short, void *))
{
struct event_base *ev_base;
struct event *accept_event;