From: Derrell Lipman Date: Fri, 18 May 2007 13:42:48 +0000 (+0000) Subject: r23001: - Fix but #4634. Type of the size parameter to getpeername was wrong. X-Git-Tag: samba-4.0.0alpha6~801^2~5836 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5217cff98570127422e87488f1115a3019aadc8f;p=thirdparty%2Fsamba.git r23001: - Fix but #4634. Type of the size parameter to getpeername was wrong. (This used to be commit 6675c8acf1d83b7131d38f09f381062b6a604c7e) --- diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 32f195547fc..725916e737b 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; /*