summaryrefslogtreecommitdiff
path: root/src/xcb_auth.c
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2009-03-16 10:26:02 +0100
committerJulien Danjou <julien@danjou.info>2009-03-16 10:26:37 +0100
commit1e9c0f1012b6d349f92ea7246194b8667d27f849 (patch)
treeb040a877479b2fa7d310a62c94ec9a80184476b1 /src/xcb_auth.c
parentfcb433db80315a44154248a9229c9cfcbab63f04 (diff)
Fix do_append() arguments
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'src/xcb_auth.c')
-rw-r--r--src/xcb_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index 51e575c..58dfe3a 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)))
{
- do_append(info->data, j, &si6->sin6_addr.s6_addr[12], 4);
+ do_append(info->data, &j, &si6->sin6_addr.s6_addr[12], 4);
APPEND(info->data, j, si6->sin6_port);
}
else