summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-02-24 01:40:45 -0800
committerJamey Sharp <jamey@minilop.net>2006-02-24 01:40:45 -0800
commit67b2649dc4b6726c6d11fb0e41429ae5de82b0e8 (patch)
tree4c2e120ae95a54eb3dbd185d48e02af051f6d11d /src/xcb_conn.c
parent838317f4d305e07f35ddd99e2ebccfa8fac680c6 (diff)
Move _xcb_read_block to xcb_in.c and make it static. Change calls in xcb_conn.c to _xcb_in_read_block instead.
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r--src/xcb_conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index de55951..698cf51 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -88,7 +88,7 @@ static int read_setup(XCBConnection *c)
if(!c->setup)
return 0;
- if(_xcb_read_block(c->fd, c->setup, sizeof(XCBConnSetupGenericRep)) != sizeof(XCBConnSetupGenericRep))
+ if(_xcb_in_read_block(c, c->setup, sizeof(XCBConnSetupGenericRep)) != sizeof(XCBConnSetupGenericRep))
return 0;
{
@@ -98,7 +98,7 @@ static int read_setup(XCBConnection *c)
c->setup = tmp;
}
- if(_xcb_read_block(c->fd, (char *) c->setup + sizeof(XCBConnSetupGenericRep), c->setup->length * 4) <= 0)
+ if(_xcb_in_read_block(c, (char *) c->setup + sizeof(XCBConnSetupGenericRep), c->setup->length * 4) <= 0)
return 0;
/* 0 = failed, 2 = authenticate, 1 = success */