aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 610c9aa7b..230206add 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -413,7 +413,7 @@ create_listen_socket (GPtrArray *addrs, guint cnt,
listen_opts, -1);
if (fd != -1) {
ls = g_malloc0 (sizeof (*ls));
- ls->addr = rspamd_inet_address_copy (g_ptr_array_index (addrs, i));
+ ls->addr = rspamd_inet_address_copy(g_ptr_array_index (addrs, i), NULL);
ls->fd = fd;
ls->type = RSPAMD_WORKER_SOCKET_TCP;
result = g_list_prepend (result, ls);
@@ -425,7 +425,7 @@ create_listen_socket (GPtrArray *addrs, guint cnt,
listen_opts | RSPAMD_INET_ADDRESS_LISTEN_REUSEPORT, -1);
if (fd != -1) {
ls = g_malloc0 (sizeof (*ls));
- ls->addr = rspamd_inet_address_copy (g_ptr_array_index (addrs, i));
+ ls->addr = rspamd_inet_address_copy(g_ptr_array_index (addrs, i), NULL);
ls->fd = fd;
ls->type = RSPAMD_WORKER_SOCKET_UDP;
result = g_list_prepend (result, ls);