mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
cleanup last commit
This commit is contained in:
parent
7468c7fb58
commit
dc98982397
@ -51,7 +51,7 @@
|
||||
int getpeereid( int s, uid_t *euid, gid_t *egid )
|
||||
{
|
||||
#ifdef LDAP_PF_LOCAL
|
||||
#if defined ( HAVE_GETPEERUCRED )
|
||||
#if defined( HAVE_GETPEERUCRED )
|
||||
ucred_t *uc = NULL;
|
||||
if( getpeerucred( s, &uc ) == 0 ) {
|
||||
*euid = ucred_geteuid( uc );
|
||||
|
Loading…
Reference in New Issue
Block a user