]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: net_listen|connect_unix() - Use consistent error handling for too long paths
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 28 Aug 2020 15:36:47 +0000 (18:36 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 11 Sep 2020 13:34:56 +0000 (13:34 +0000)
commit6f42f48bd3c4514093c1bfc6e0cc3ef8d27337f0
tree9dd15376acae806a6b5853858d1b0f66a855447c
parent1f2ac2afaa0a53ce43baa138b25149f3011b121f
lib: net_listen|connect_unix() - Use consistent error handling for too long paths

The errno should be the same for both functions. Prefer ENAMETOOLONG if it
exists on the OS, otherwise fallback to EOVERFLOW.
src/lib/net.c
src/lib/test-net.c