]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23001: - Fix but #4634. Type of the size parameter to getpeername was wrong.
authorDerrell Lipman <derrell@samba.org>
Fri, 18 May 2007 13:42:48 +0000 (13:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:13 +0000 (12:22 -0500)
(This used to be commit 6675c8acf1d83b7131d38f09f381062b6a604c7e)

source3/libsmb/libsmbclient.c

index 32f195547fccc9b72691da2f3da1d13b664969a1..725916e737b9b9a59b0dda562a0a959b75b7ab8b 100644 (file)
@@ -500,7 +500,7 @@ static int
 smbc_check_server(SMBCCTX * context,
                   SMBCSRV * server) 
 {
-        size_t size;
+        socklen_t size;
         struct sockaddr addr;
 
         /*