Fix compile error for SO_PEERCRED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14560 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -86,7 +86,7 @@ update_client_creds(int s, kcm_client *peer)
|
||||
socklen_t pclen;
|
||||
struct ucred pc;
|
||||
|
||||
if (getsockopt(d[index].s, SOL_SOCKET, SO_PEERCRED, (void *)&pc,
|
||||
if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, (void *)&pc,
|
||||
&pclen) != 0) {
|
||||
krb5_warn(kcm_context, errno, "failed to determine peer identity");
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user