diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-07-24 12:22:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-07-24 12:22:14 +0100 |
commit | 207dca6a755b19d936f4ecf9afecabe08210f1b4 (patch) | |
tree | cda3ccb8365aef7f7820526945d0d46302c84f71 | |
parent | 2c8ed95980462b03fb3ca0ae7721357952d7361b (diff) | |
download | rspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.tar.gz rspamd-207dca6a755b19d936f4ecf9afecabe08210f1b4.zip |
Fix build for an old libevent.
-rw-r--r-- | src/main.h | 2 | ||||
-rw-r--r-- | src/worker_util.c | 2 |
2 files changed, 2 insertions, 2 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 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; |