aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-20 01:35:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-22 11:30:47 +0200
commit3c0469971a5092781783b6a5c86b668047e475be (patch)
treec6d313933b17ecb5e3129fa22b97673654c495bf /nx-X11/programs
parent528e1e4ef520506733ac3eeef374fcca41214cd1 (diff)
downloadnx-libs-3c0469971a5092781783b6a5c86b668047e475be.tar.gz
nx-libs-3c0469971a5092781783b6a5c86b668047e475be.tar.bz2
nx-libs-3c0469971a5092781783b6a5c86b668047e475be.zip
os/access.c: add missing }
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/os/access.c1
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;