summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/socket/socket_unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c
index 1735c931b8..038ce3b3b6 100644
--- a/source4/lib/socket/socket_unix.c
+++ b/source4/lib/socket/socket_unix.c
@@ -73,9 +73,13 @@ static void unixdom_close(struct socket_context *sock)
close(sock->fd);
/* if we were listening, then don't leave the socket lying
around in the filesystem */
+
+#if 0
+ /* FIXME - this doesn't work after fork(), etc */
if (sock->private_data) {
unlink((const char *)sock->private_data);
}
+#endif
}
static NTSTATUS unixdom_connect(struct socket_context *sock,