aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xext/security.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-28 12:07:10 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-02 13:51:37 +0200
commit487870fff5cd1bc3db5ade4f5721f483f96119c7 (patch)
treee41ad6d5cd85b97101c9fd3d37be951eee1a409e /nx-X11/programs/Xserver/Xext/security.c
parenta08e2323e838099cc2079287c5b3fd1e9b7f20f7 (diff)
downloadnx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.tar.gz
nx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.tar.bz2
nx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.zip
Xserver/include/protocol-versions.h: Switch to having an Xserver-specific header file containing all use protocol versions.
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/security.c')
-rw-r--r--nx-X11/programs/Xserver/Xext/security.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/Xext/security.c b/nx-X11/programs/Xserver/Xext/security.c
index 13da54386..096b88d20 100644
--- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -56,6 +56,7 @@ in this Software without prior written authorization from The Open Group.
#include "gcstruct.h"
#include "colormapst.h"
#include "propertyst.h"
+#include "protocol-versions.h"
#define _SECURITY_SERVER
#include <nx-X11/extensions/securstr.h>
#include <assert.h>
@@ -486,8 +487,8 @@ ProcSecurityQueryVersion(
rep.type = X_Reply;
rep.sequenceNumber = client->sequence;
rep.length = 0;
- rep.majorVersion = SECURITY_MAJOR_VERSION;
- rep.minorVersion = SECURITY_MINOR_VERSION;
+ rep.majorVersion = SERVER_SECURITY_MAJOR_VERSION;
+ rep.minorVersion = SERVER_SECURITY_MINOR_VERSION;
if(client->swapped)
{
register char n;