summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-20 13:49:45 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-12 17:25:49 +1200
commit52c51752e8e8d64f4332cae990688b5b11f1b422 (patch)
tree11247ae9476a99f963c82fccc0f8fc81f9480e94 /source3
parent2175024f9750d858847c2c0ad1c84ea9a14e0e02 (diff)
downloadsamba-52c51752e8e8d64f4332cae990688b5b11f1b422.tar.gz
samba-52c51752e8e8d64f4332cae990688b5b11f1b422.tar.bz2
samba-52c51752e8e8d64f4332cae990688b5b11f1b422.zip
lib: Remove unused "client_name"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/util_sock.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a9270fc903..4477246fbb 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -571,7 +571,6 @@ char *print_sockaddr(char *dest,
const struct sockaddr_storage *psa);
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
const struct sockaddr_storage *pss);
-const char *client_name(int fd);
int get_socket_port(int fd);
const char *client_addr(int fd, char *addr, size_t addrlen);
const char *client_socket_addr(int fd, char *addr, size_t addr_len);
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 54286b3f31..509e7b7d3a 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -29,11 +29,6 @@
#include "../lib/util/tevent_ntstatus.h"
#include "../lib/tsocket/tsocket.h"
-const char *client_name(int fd)
-{
- return get_peer_name(fd,false);
-}
-
const char *client_addr(int fd, char *addr, size_t addrlen)
{
return get_peer_addr(fd,addr,addrlen);