Don't bother to set sockaddr_un.sun_len.

Thomas Munro <tmunro@postgresql.org>

Commit: c9818798147a4eec00bba61a05fa9bc88398ec3b
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-08-23T12:09:37Z
Releases: 16.0
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

Files

PathChange+/−
src/common/ip.c modified +0 −14

Discussion