From 62b5ca3334598aec3304d21118f67702afc3854a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 3 Nov 2007 20:27:59 -0700 Subject: [PATCH] Missed one case where I need to pass down addrlen. Jeremy --- source/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c index 5422bc21803..3cce12381cb 100644 --- a/source/lib/util_sock.c +++ b/source/lib/util_sock.c @@ -1728,7 +1728,7 @@ static const char *get_peer_addr_internal(int fd, } print_sockaddr_len(addr_buf, - sizeof(addr_buf), + addr_buf_len, pss, *plength); return addr_buf; -- 2.11.4.GIT