summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-03 20:27:59 -0700
committerJeremy Allison <jra@samba.org>2007-11-03 20:27:59 -0700
commit56aa420195f4bf8007fbbbe362dbaf961a97f423 (patch)
tree8a2fac7c947c8d8f1b0f78afd80bcf763cf2c8d6
parent25074433f412c4dd2531fd268d51be8753ddc11b (diff)
downloadsamba-56aa420195f4bf8007fbbbe362dbaf961a97f423.tar.gz
samba-56aa420195f4bf8007fbbbe362dbaf961a97f423.tar.bz2
samba-56aa420195f4bf8007fbbbe362dbaf961a97f423.zip
Missed one case where I need to pass down addrlen.
Jeremy (This used to be commit 62b5ca3334598aec3304d21118f67702afc3854a)
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 5422bc2180..3cce12381c 100644
--- a/source3/lib/util_sock.c
+++ b/source3/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;