From c9c75c273b270c83d7c82bdeb5f26ac246644ff8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 12 May 2020 00:44:37 +0200 Subject: WIP unix socket debug 6 --- sysdep/unix/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 5d269ec6..ba8ff5fc 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1529,8 +1529,8 @@ sk_connect_unix(sock *s, char *name, socklen_t namelen) struct sockaddr_un sa; int fd; - if (namelen > sizeof(sa.sun_path)) - return -1; + /* if (namelen > sizeof(sa.sun_path)) */ + /* return -1; */ /* We are sloppy during error (leak fd and not set s->err), but we die anyway */ -- cgit v1.2.3