summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */