summaryrefslogtreecommitdiffstats
path: root/source/lib/socket/socket_unix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 03:30:39 +0000
committerAndrew Tridgell <tridge@samba.org>2004-10-25 03:30:39 +0000
commit98b425f99870743cd86f447d1d79efd881666eb0 (patch)
tree2e3986f5b288a23bcbd46ef0fc35010b39d793c0 /source/lib/socket/socket_unix.c
parentd60d8ea2ce2be844ec3a60c479bf8fe90a2b21e5 (diff)
downloadsamba-98b425f99870743cd86f447d1d79efd881666eb0.tar.gz
samba-98b425f99870743cd86f447d1d79efd881666eb0.tar.xz
samba-98b425f99870743cd86f447d1d79efd881666eb0.zip
r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
Diffstat (limited to 'source/lib/socket/socket_unix.c')
-rw-r--r--source/lib/socket/socket_unix.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/lib/socket/socket_unix.c b/source/lib/socket/socket_unix.c
index 038ce3b3b68..df929d92b4b 100644
--- a/source/lib/socket/socket_unix.c
+++ b/source/lib/socket/socket_unix.c
@@ -71,15 +71,6 @@ static NTSTATUS unixdom_init(struct socket_context *sock)
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,