summaryrefslogtreecommitdiff
path: root/os/xdmauth.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-02-08 17:36:03 -0500
committerAdam Jackson <ajax@redhat.com>2016-02-08 21:49:56 -0500
commitb3e9c534e2b0dc2c9acd2fe9b942e1fc5227339b (patch)
treebc0cad837b33a65d3d6ab20d0cbef3f8e8ea8559 /os/xdmauth.c
parente43abdce964f5ed9689cf908af8c305b39a5dd36 (diff)
os: unifdef STREAMSCONN
Removed from xtrans in 2012, and never wired up in the modular build anyway. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'os/xdmauth.c')
-rw-r--r--os/xdmauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/xdmauth.c b/os/xdmauth.c
index 482bc67db..cb2e39e12 100644
--- a/os/xdmauth.c
+++ b/os/xdmauth.c
@@ -277,7 +277,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);