From 0988e1b1b1d0a3a82728df658d834aba199baf4c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 9 Jun 2016 16:35:31 +0100 Subject: [Feature] Add protection against open files limit and accepting sockets --- utils/rspamd_http_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/rspamd_http_server.c') diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c index ad01085df..9af96fad9 100644 --- a/utils/rspamd_http_server.c +++ b/utils/rspamd_http_server.c @@ -134,7 +134,7 @@ rspamd_server_accept (gint fd, short what, void *arg) do { if ((nfd = - rspamd_accept_from_socket (fd, &addr)) == -1) { + rspamd_accept_from_socket (fd, &addr, NULL)) == -1) { rspamd_fprintf (stderr, "accept failed: %s", strerror (errno)); return; } -- cgit v1.2.3