]> source.dussan.org Git - rspamd.git/commitdiff
Another fix for old libevent
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Dec 2015 17:26:56 +0000 (17:26 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Dec 2015 17:26:56 +0000 (17:26 +0000)
src/libserver/rspamd_control.c

index c2ae038208da77cc165aa0f33c3891f367ca67d8..b683ac46ff22194a90371009cec1b5495d969642 100644 (file)
@@ -355,7 +355,7 @@ rspamd_control_error_handler (struct rspamd_http_connection *conn, GError *err)
 static struct rspamd_control_reply_elt *
 rspamd_control_broadcast_cmd (struct rspamd_main *rspamd_main,
                struct rspamd_control_command *cmd,
-               void (*handler) (evutil_socket_t, short, void *), gpointer ud)
+               void (*handler) (int, short, void *), gpointer ud)
 {
        GHashTableIter it;
        struct rspamd_worker *wrk;