summaryrefslogtreecommitdiffstats
path: root/src/main.h
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/main.h
parent2c8ed95980462b03fb3ca0ae7721357952d7361b (diff)
downloadrspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.tar.gz
rspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.zip
Fix build for an old libevent.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 052c6ce6d..e0545408c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -338,7 +338,7 @@ typedef void (*rspamd_sig_handler_t) (gint, siginfo_t *, void *);
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 *));
/**
* Stop accepting new connections for a worker