summaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
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;