From 46a275522f8692b8fc20043ec7a5e74d43448f0b Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 16 Oct 2019 14:30:18 -0400 Subject: [PATCH] xdmcp: Remove unconfigurable COMPILEDDISPLAYCLASS --- include/site.h | 3 --- os/xdmcp.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/site.h b/include/site.h index 06e2c7e00..67a9094ae 100644 --- a/include/site.h +++ b/include/site.h @@ -51,9 +51,6 @@ SOFTWARE. * The following constants contain default values for all of the variables * that can be initialized on the server command line or in the environment. */ -#ifndef COMPILEDDISPLAYCLASS -#define COMPILEDDISPLAYCLASS "MIT-unspecified" -#endif #define DEFAULT_TIMEOUT 60 /* seconds */ #define DEFAULT_KEYBOARD_CLICK 0 #define DEFAULT_BELL 50 diff --git a/os/xdmcp.c b/os/xdmcp.c index df3312df6..38f81566c 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -62,7 +62,7 @@ #define X_INCLUDE_NETDB_H #include -static const char *defaultDisplayClass = COMPILEDDISPLAYCLASS; +static const char *defaultDisplayClass = "MIT-unspecified"; static int xdmcpSocket, sessionSocket; static xdmcp_states state;