projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6992fc
)
Bug 19432 followup - Fix Debian/FreeBSD CMSGCRED compilation
author
Aurelien Jarno
<aurel32@debian.org>
Thu, 16 Jul 2009 13:35:27 +0000
(09:35 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 16 Jul 2009 13:35:27 +0000
(09:35 -0400)
dbus/dbus-sysdeps-unix.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-unix.c
b/dbus/dbus-sysdeps-unix.c
index
1268768
..
66bcf3c
100644
(file)
--- a/
dbus/dbus-sysdeps-unix.c
+++ b/
dbus/dbus-sysdeps-unix.c
@@
-1241,7
+1241,7
@@
_dbus_read_credentials_socket (int client_fd,
#elif defined(HAVE_CMSGCRED)
struct cmsgcred *cred;
- cred = (struct cmsgcred *) CMSG_DATA (&cmsg);
+ cred = (struct cmsgcred *) CMSG_DATA (&cmsg
.hdr
);
pid_read = cred->cmcred_pid;
uid_read = cred->cmcred_euid;
#elif defined(LOCAL_CREDS)