summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-05-18 13:42:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:13 -0500
commit5217cff98570127422e87488f1115a3019aadc8f (patch)
treecff9543e435325de6df6d7321a0f85151d3f4f7e /source3
parente9b27a34e35500b9da94ccdf7872d6956bd93566 (diff)
downloadsamba-5217cff98570127422e87488f1115a3019aadc8f.tar.gz
samba-5217cff98570127422e87488f1115a3019aadc8f.tar.bz2
samba-5217cff98570127422e87488f1115a3019aadc8f.zip
r23001: - Fix but #4634. Type of the size parameter to getpeername was wrong.
(This used to be commit 6675c8acf1d83b7131d38f09f381062b6a604c7e)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 32f195547f..725916e737 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -500,7 +500,7 @@ static int
smbc_check_server(SMBCCTX * context,
SMBCSRV * server)
{
- size_t size;
+ socklen_t size;
struct sockaddr addr;
/*