diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-06-20 01:35:22 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-06-22 11:30:47 +0200 |
commit | 3c0469971a5092781783b6a5c86b668047e475be (patch) | |
tree | c6d313933b17ecb5e3129fa22b97673654c495bf | |
parent | 528e1e4ef520506733ac3eeef374fcca41214cd1 (diff) | |
download | nx-libs-3c0469971a5092781783b6a5c86b668047e475be.tar.gz nx-libs-3c0469971a5092781783b6a5c86b668047e475be.tar.bz2 nx-libs-3c0469971a5092781783b6a5c86b668047e475be.zip |
os/access.c: add missing }
-rw-r--r-- | nx-X11/programs/Xserver/os/access.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/os/access.c b/nx-X11/programs/Xserver/os/access.c index d8d035ade..df540e704 100644 --- a/nx-X11/programs/Xserver/os/access.c +++ b/nx-X11/programs/Xserver/os/access.c @@ -1348,6 +1348,7 @@ GetLocalClientCreds(ClientPtr client, LocalClientCredRec **lccp) if (getpeerucred(fd, &peercred) < 0) { FreeLocalClientCreds(lcc); return -1; + } lcc->euid = ucred_geteuid(peercred); if (lcc->euid != -1) lcc->fieldsSet |= LCC_UID_SET; |