git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63aae9c
)
fix more SO_PEERCRED breakage
author
Luke Howard
<lukeh@padl.com>
Thu, 3 Feb 2005 12:50:12 +0000
(12:50 +0000)
committer
Luke Howard
<lukeh@padl.com>
Thu, 3 Feb 2005 12:50:12 +0000
(12:50 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14561
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kcm/connect.c
patch
|
blob
|
history
diff --git
a/kcm/connect.c
b/kcm/connect.c
index 4162be488f20f1503dcc8ed21a1fe676187b4540..b9ebee67065b0e11dc210bfed9991e83445e05c6 100644
(file)
--- a/
kcm/connect.c
+++ b/
kcm/connect.c
@@
-83,8
+83,8
@@
update_client_creds(int s, kcm_client *peer)
{
#ifdef SO_PEERCRED
{
- socklen_t pclen;
struct ucred pc;
+ socklen_t pclen = sizeof(pc);
if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, (void *)&pc,
&pclen) != 0) {