summaryrefslogtreecommitdiff
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-12 00:44:37 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-12 00:44:45 +0200
commitc9c75c273b270c83d7c82bdeb5f26ac246644ff8 (patch)
tree860b4a8aec165ab02fc0ac8fc46f6c0dbad5f88c /sysdep/unix/io.c
parent2d19f03a0734cc308733c9103dbd75446d8b46c6 (diff)
WIP unix socket debug 6
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c4
1 files 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 */