mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 04:08:12 +02:00
Bug 19432 followup - Fix Debian/FreeBSD CMSGCRED compilation
This commit is contained in:
parent
c6992fc56c
commit
ffa322b80f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue