diff options
-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; |