(update_client_creds): in case there is no UCRED_VERSION, skip LOCAL_PEERCRED

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15997 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-08-30 09:06:04 +00:00
parent c848386885
commit 2e32855a02

View File

@@ -123,7 +123,7 @@ update_client_creds(int s, kcm_client *peer)
}
}
#endif
#ifdef LOCAL_PEERCRED
#if defined(LOCAL_PEERCRED) && defined(XUCRED_VERSION)
{
struct xucred peercred;
socklen_t peercredlen = sizeof(peercred);