[Xcb-commit] src
Julien Danjou
jdanjou at kemper.freedesktop.org
Sun Mar 15 11:58:23 PDT 2009
src/xcb_auth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fcb433db80315a44154248a9229c9cfcbab63f04
Author: Julien Danjou <julien at danjou.info>
Date: Sun Mar 15 10:18:50 2009 +0100
Copy full IPv4 mapping (Bug #20665)
Signed-off-by: Julien Danjou <julien at danjou.info>
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index b44855e..51e575c 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -187,7 +187,7 @@ static int compute_auth(xcb_auth_info_t *info, Xauth *authptr, struct sockaddr *
struct sockaddr_in6 *si6 = (struct sockaddr_in6 *) sockname;
if(IN6_IS_ADDR_V4MAPPED(SIN6_ADDR(sockname)))
{
- APPEND(info->data, j, si6->sin6_addr.s6_addr[12]);
+ do_append(info->data, j, &si6->sin6_addr.s6_addr[12], 4);
APPEND(info->data, j, si6->sin6_port);
}
else
More information about the xcb-commit
mailing list