summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-16 16:06:12 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-18 07:00:41 +0100
commit0685031ccfc09feb0ad070df1c1a1d0cef5874f2 (patch)
treeb61890672b87316720370cba984cb6fd1567b7ab /source3/winbindd/winbindd_util.c
parent450252d2a1981fb04eb62eb095c1b762a96f7727 (diff)
downloadsamba-0685031ccfc09feb0ad070df1c1a1d0cef5874f2.tar.gz
samba-0685031ccfc09feb0ad070df1c1a1d0cef5874f2.tar.bz2
samba-0685031ccfc09feb0ad070df1c1a1d0cef5874f2.zip
s3:winbindd: remove unused close_winbindd_socket() function
metze
Diffstat (limited to 'source3/winbindd/winbindd_util.c')
-rw-r--r--source3/winbindd/winbindd_util.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 2d87015fec..a2c1c85e0b 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1316,24 +1316,6 @@ int open_winbindd_priv_socket(void)
return _winbindd_priv_socket;
}
-/* Close the winbindd socket */
-
-void close_winbindd_socket(void)
-{
- if (_winbindd_socket != -1) {
- DEBUG(10, ("close_winbindd_socket: closing socket fd %d\n",
- _winbindd_socket));
- close(_winbindd_socket);
- _winbindd_socket = -1;
- }
- if (_winbindd_priv_socket != -1) {
- DEBUG(10, ("close_winbindd_socket: closing socket fd %d\n",
- _winbindd_priv_socket));
- close(_winbindd_priv_socket);
- _winbindd_priv_socket = -1;
- }
-}
-
/*
* Client list accessor functions
*/