From ab1ef34c51e78df568ff5d919c2112778bb582c1 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 18 Jul 2005 04:42:28 +0000 Subject: [PATCH] size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED) --- libraries/liblutil/getpeereid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/getpeereid.c b/libraries/liblutil/getpeereid.c index 3d7ce7a6e1..ce8c232aa8 100644 --- a/libraries/liblutil/getpeereid.c +++ b/libraries/liblutil/getpeereid.c @@ -49,7 +49,7 @@ int getpeereid( int s, uid_t *euid, gid_t *egid ) #ifdef LDAP_PF_LOCAL #if defined( SO_PEERCRED ) struct ucred peercred; - size_t peercredlen = sizeof peercred; + socklen_t peercredlen = sizeof peercred; if(( getsockopt( s, SOL_SOCKET, SO_PEERCRED, (void *)&peercred, &peercredlen ) == 0 ) -- 2.39.5