diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-03-02 11:01:43 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-02 11:01:43 +0100 |
commit | 554a6fa760de47c497abcc91bb5f1f9b2756a407 (patch) | |
tree | f59b0c8ddd14dc414c952710b2010477107cde06 /nx-X11/programs/Xserver/Xext/security.c | |
parent | f42d36fb73e096113a948a04279b752689f157bc (diff) | |
parent | 9c3669c6b7ff19013b3684bb74d98ec3d121e329 (diff) | |
download | nx-libs-554a6fa760de47c497abcc91bb5f1f9b2756a407.tar.gz nx-libs-554a6fa760de47c497abcc91bb5f1f9b2756a407.tar.bz2 nx-libs-554a6fa760de47c497abcc91bb5f1f9b2756a407.zip |
Merge branch 'sunweaver-pr/constify-atom-name-strings' into 3.6.x
Attributes GH PR #363: https://github.com/ArcticaProject/nx-libs/pull/363
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/security.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/Xext/security.c b/nx-X11/programs/Xserver/Xext/security.c index 55a805aea..fb3159dc6 100644 --- a/nx-X11/programs/Xserver/Xext/security.c +++ b/nx-X11/programs/Xserver/Xext/security.c @@ -1066,7 +1066,7 @@ SecurityAuditResourceIDAccess( xChangePropertyReq *req = (xChangePropertyReq *)client->requestBuffer; int propertyatom = req->property; - char *propertyname = NameForAtom(propertyatom); + const char *propertyname = NameForAtom(propertyatom); SecurityAudit("client %d attempted request %d with window 0x%x property %s of client %d\n", client->index, reqtype, id, propertyname, cid); |