aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_conn.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-19 12:25:24 +0000
committermarha <marha@users.sourceforge.net>2010-04-19 12:25:24 +0000
commita46e26df6103fb0e6e00d8d11d58c3f7a358208c (patch)
treec25cff1f3a02b71fa1b49c932b2986b4d01dfc36 /libxcb/src/xcb_conn.c
parentd76a22b9314bfd407c7e26f78305aeecb5d2bcfb (diff)
downloadvcxsrv-a46e26df6103fb0e6e00d8d11d58c3f7a358208c.tar.gz
vcxsrv-a46e26df6103fb0e6e00d8d11d58c3f7a358208c.tar.bz2
vcxsrv-a46e26df6103fb0e6e00d8d11d58c3f7a358208c.zip
libxcb update 19/4/2010
Diffstat (limited to 'libxcb/src/xcb_conn.c')
-rw-r--r--libxcb/src/xcb_conn.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libxcb/src/xcb_conn.c b/libxcb/src/xcb_conn.c
index 1d3761452..50a662bb2 100644
--- a/libxcb/src/xcb_conn.c
+++ b/libxcb/src/xcb_conn.c
@@ -102,10 +102,7 @@ static int write_setup(xcb_connection_t *c, xcb_auth_info_t *auth_info)
assert(count <= (int) (sizeof(parts) / sizeof(*parts)));
pthread_mutex_lock(&c->iolock);
- {
- struct iovec *parts_ptr = parts;
- ret = _xcb_out_send(c, &parts_ptr, &count);
- }
+ ret = _xcb_out_send(c, parts, count);
pthread_mutex_unlock(&c->iolock);
return ret;
}