From 2e32855a020c2c14c94b7efd5cfd2fb8ce00a644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 30 Aug 2005 09:06:04 +0000 Subject: [PATCH] (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 --- kcm/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcm/connect.c b/kcm/connect.c index 36be404f9..844f97fa2 100644 --- a/kcm/connect.c +++ b/kcm/connect.c @@ -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);