mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
lib: Remove unused "client_name"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
2175024f97
commit
52c51752e8
@ -106,7 +106,6 @@ char *print_sockaddr(char *dest,
|
|||||||
const struct sockaddr_storage *psa);
|
const struct sockaddr_storage *psa);
|
||||||
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
|
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
|
||||||
const struct sockaddr_storage *pss);
|
const struct sockaddr_storage *pss);
|
||||||
const char *client_name(int fd);
|
|
||||||
int get_socket_port(int fd);
|
int get_socket_port(int fd);
|
||||||
const char *client_socket_addr(int fd, char *addr, size_t addr_len);
|
const char *client_socket_addr(int fd, char *addr, size_t addr_len);
|
||||||
|
|
||||||
|
@ -571,7 +571,6 @@ char *print_sockaddr(char *dest,
|
|||||||
const struct sockaddr_storage *psa);
|
const struct sockaddr_storage *psa);
|
||||||
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
|
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
|
||||||
const struct sockaddr_storage *pss);
|
const struct sockaddr_storage *pss);
|
||||||
const char *client_name(int fd);
|
|
||||||
int get_socket_port(int fd);
|
int get_socket_port(int fd);
|
||||||
const char *client_addr(int fd, char *addr, size_t addrlen);
|
const char *client_addr(int fd, char *addr, size_t addrlen);
|
||||||
const char *client_socket_addr(int fd, char *addr, size_t addr_len);
|
const char *client_socket_addr(int fd, char *addr, size_t addr_len);
|
||||||
|
@ -29,11 +29,6 @@
|
|||||||
#include "../lib/util/tevent_ntstatus.h"
|
#include "../lib/util/tevent_ntstatus.h"
|
||||||
#include "../lib/tsocket/tsocket.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)
|
const char *client_addr(int fd, char *addr, size_t addrlen)
|
||||||
{
|
{
|
||||||
return get_peer_addr(fd,addr,addrlen);
|
return get_peer_addr(fd,addr,addrlen);
|
||||||
|
Loading…
Reference in New Issue
Block a user