]> git.sur5r.net Git - openldap/commitdiff
size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED)
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 18 Jul 2005 04:42:28 +0000 (04:42 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 18 Jul 2005 04:42:28 +0000 (04:42 +0000)
libraries/liblutil/getpeereid.c

index 3d7ce7a6e12d2e5322ba8b94ab96560019f8e1d9..ce8c232aa807ec043d096feae8f0616c2d5002c4 100644 (file)
@@ -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 )