summaryrefslogtreecommitdiff
path: root/xserver/os/xdmcp.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-03-19 21:19:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-03-19 21:19:58 +0000
commit20cdf7268f0006bb9ffa593ffd2235295b561f51 (patch)
treed931fee6ce2111c6a9a875a00ea0a035dd95e41e /xserver/os/xdmcp.c
parentc5e7388ec138dcbf9c68c208cb4764841a0208be (diff)
Update to xserver 1.19.7. Tested by jca@ and stsp@.
Diffstat (limited to 'xserver/os/xdmcp.c')
-rw-r--r--xserver/os/xdmcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/xdmcp.c b/xserver/os/xdmcp.c
index 7aeb393e6..d8c81fbf8 100644
--- a/xserver/os/xdmcp.c
+++ b/xserver/os/xdmcp.c
@@ -486,7 +486,7 @@ XdmcpRegisterConnection(int type, const char *address, int addrlen)
IN6_IS_ADDR_V4MAPPED((const struct in6_addr *) address)) {
fromAddr = &((struct sockaddr_in *) &FromAddress)->sin_addr;
regAddr =
- &((struct sockaddr_in6 *) &address)->sin6_addr.s6_addr[12];
+ &((struct sockaddr_in6 *) address)->sin6_addr.s6_addr[12];
regAddrlen = sizeof(struct in_addr);
}
}