projects
/
platform
/
upstream
/
libxcb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa71ea
)
Copy full IPv4 mapping (Bug #20665)
author
Julien Danjou
<julien@danjou.info>
Sun, 15 Mar 2009 09:18:50 +0000
(10:18 +0100)
committer
Julien Danjou
<julien@danjou.info>
Sun, 15 Mar 2009 18:57:56 +0000
(19:57 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
src/xcb_auth.c
patch
|
blob
|
history
diff --git
a/src/xcb_auth.c
b/src/xcb_auth.c
index
b44855e
..
51e575c
100644
(file)
--- 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