From 5134ceb34174fd64512d4d60e53ee8a1e476bb86 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 24 Sep 2022 20:03:10 +0100 Subject: [PATCH] [Minor] Oops, remove experiment --- src/libutil/addr.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libutil/addr.c b/src/libutil/addr.c index 63e92c801..2e32d4bd1 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1060,13 +1060,6 @@ rspamd_inet_address_connect (const rspamd_inet_addr_t *addr, gint type, if (addr->af == AF_UNIX) { sa = (const struct sockaddr *)&addr->u.un->addr; - - struct sockaddr_un ssun; - strcpy(ssun.sun_path, tmpnam(NULL)); - ssun.sun_len = SUN_LEN(&ssun); - ssun.sun_family = AF_UNIX; - /* Also bind unix client sockets to allow unconnected reply from that side */ - r = bind (fd, &ssun, ssun.sun_len); } else { sa = &addr->u.in.addr.sa; -- 2.39.5