diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-09-15 01:57:53 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-09-21 15:31:14 -0700 |
commit | 79e3227022ae3d66f9f3806d231fdeec2a06cc6b (patch) | |
tree | 69b909be1349e75d241958dd0a0427926a65e177 /src/xcb_conn.c | |
parent | 7f71bf9c0f30536e85907b2c991cb7001861e1d3 (diff) |
Add a private connection shutdown method for error cases.
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r-- | src/xcb_conn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c index 2b24dc0..29d91f4 100644 --- a/src/xcb_conn.c +++ b/src/xcb_conn.c @@ -247,6 +247,11 @@ void XCBDisconnect(XCBConnection *c) /* Private interface */ +void _xcb_conn_shutdown(XCBConnection *c) +{ + c->has_error = 1; +} + int _xcb_conn_wait(XCBConnection *c, pthread_cond_t *cond, struct iovec **vector, int *count) { int ret; |