diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-24 20:03:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-24 20:03:10 +0100 |
commit | 5134ceb34174fd64512d4d60e53ee8a1e476bb86 (patch) | |
tree | ad3fed0aa4156cddb6ac0da710a909096bdb49bf | |
parent | 43de82c1611acec494eaa7f89c047f9ef8f14088 (diff) | |
download | rspamd-5134ceb34174fd64512d4d60e53ee8a1e476bb86.tar.gz rspamd-5134ceb34174fd64512d4d60e53ee8a1e476bb86.zip |
[Minor] Oops, remove experiment
-rw-r--r-- | src/libutil/addr.c | 7 |
1 files changed, 0 insertions, 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; |