diff options
author | James Peach <jpeach@samba.org> | 2005-08-30 06:41:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:26 -0500 |
commit | 623d2e69319ffead31a780a4d6156dae45f386d7 (patch) | |
tree | 0db4d79aed8c914bc89e884aa124ba826da9163d /source/nsswitch/wb_common.c | |
parent | 9fc539088eda7f9b5d212b7df50594bec51e16f5 (diff) | |
download | samba-623d2e69319ffead31a780a4d6156dae45f386d7.tar.gz samba-623d2e69319ffead31a780a4d6156dae45f386d7.tar.xz samba-623d2e69319ffead31a780a4d6156dae45f386d7.zip |
r9780: Clean up a bunch of compiler warnings.
Diffstat (limited to 'source/nsswitch/wb_common.c')
-rw-r--r-- | source/nsswitch/wb_common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/nsswitch/wb_common.c b/source/nsswitch/wb_common.c index b6f617eb952..5ed0b9161e7 100644 --- a/source/nsswitch/wb_common.c +++ b/source/nsswitch/wb_common.c @@ -280,14 +280,6 @@ static int winbind_named_pipe_sock(const char *dir) close(fd); return -1; - - if (connect(fd, (struct sockaddr *)&sunaddr, - sizeof(sunaddr)) == -1) { - close(fd); - return -1; - } - - return fd; } /* Connect to winbindd socket */ |