summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-03-08 14:21:16 -0800
committerJamey Sharp <jamey@minilop.net>2006-03-08 14:21:16 -0800
commit621f891c49cbf4beba1e20fb9b6fb1be576d42f3 (patch)
tree02a3f79e06108ac53c6fab998aa760b09ec54d2d /src/xcb_conn.c
parentc491eeb9a9f670f7d4869d7dae7a5adce4565998 (diff)
Move c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait.
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r--src/xcb_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 5839ed8..0491721 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -231,7 +231,7 @@ int _xcb_conn_wait(XCBConnection *c, const int should_write, pthread_cond_t *con
ret = ret && _xcb_in_read(c);
if(FD_ISSET(c->fd, &wfds))
- ret = ret && _xcb_out_write(c);
+ ret = ret && _xcb_out_write(c, &c->out.vec, &c->out.vec_len);
}
if(should_write)