From: Hallvard Furuseth Date: Mon, 18 Jul 2005 04:42:28 +0000 (+0000) Subject: size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED) X-Git-Tag: OPENLDAP_AC_BP~373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab1ef34c51e78df568ff5d919c2112778bb582c1;p=openldap size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED) --- 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 )