aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/xdmauth.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-12 21:33:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 19:46:36 +0100
commit0cbc89221f82fa99db511eeef580a1476dfd4087 (patch)
treed1ba20af3fe8595d1ded67f66b4857148f250712 /nx-X11/programs/Xserver/os/xdmauth.c
parentb5bfd3a49503387f1477a58b7c3d76fcdf06fbe5 (diff)
downloadnx-libs-0cbc89221f82fa99db511eeef580a1476dfd4087.tar.gz
nx-libs-0cbc89221f82fa99db511eeef580a1476dfd4087.tar.bz2
nx-libs-0cbc89221f82fa99db511eeef580a1476dfd4087.zip
Remove unused TLI ("STREAMSCONN") code
Diffstat (limited to 'nx-X11/programs/Xserver/os/xdmauth.c')
-rw-r--r--nx-X11/programs/Xserver/os/xdmauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/os/xdmauth.c b/nx-X11/programs/Xserver/os/xdmauth.c
index 48e1da6df..4a59b48f2 100644
--- a/nx-X11/programs/Xserver/os/xdmauth.c
+++ b/nx-X11/programs/Xserver/os/xdmauth.c
@@ -284,7 +284,7 @@ XdmAuthorizationValidate (unsigned char *plain, int length,
if (_XSERVTransGetPeerAddr(((OsCommPtr)xclient->osPrivate)->trans_conn,
&family, &addr_len, &addr) == 0
&& _XSERVTransConvertAddress(&family, &addr_len, &addr) == 0) {
-#if defined(TCPCONN) || defined(STREAMSCONN)
+#if defined(TCPCONN)
if (family == FamilyInternet &&
memcmp((char *)addr, client->client, 4) != 0) {
free (client);