Don't bother to set sockaddr_un.sun_len.
authorThomas Munro <tmunro@postgresql.org>
Tue, 23 Aug 2022 11:52:17 +0000 (23:52 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 23 Aug 2022 12:09:37 +0000 (00:09 +1200)
commitc9818798147a4eec00bba61a05fa9bc88398ec3b
treee1edc203582fb234f3296ab7f7c74c43ec10016c
parentf972ec5c285c3bc50d81f8044e08cd636017ab68
Don't bother to set sockaddr_un.sun_len.

It's not necessary to fill in sun_len when calling bind() or connect(),
on all known systems that have it.

Discussion: https://postgr.es/m/2781112.1644819528%40sss.pgh.pa.us
src/common/ip.c