1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00

r3183: moved the unlink of the messaging unixdom socket to the messaging destructor

This commit is contained in:
Andrew Tridgell
2004-10-25 03:30:39 +00:00
committed by Gerald (Jerry) Carter
parent c5e72b05d7
commit ab222b236a
2 changed files with 1 additions and 9 deletions

View File

@@ -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,