diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-02-23 11:50:12 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-02-23 11:50:12 -0800 |
commit | 5b1d39e27b1a966df537ead248da5a57e7d9de97 (patch) | |
tree | d5d21aba4eac1d904f9959c457992ee87ef26b74 /src/xcb_out.c | |
parent | 662479760c42fc38c458381ee3eaed92e2c8b733 (diff) |
More return value changes.
Diffstat (limited to 'src/xcb_out.c')
-rw-r--r-- | src/xcb_out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_out.c b/src/xcb_out.c index 04b8365..2487139 100644 --- a/src/xcb_out.c +++ b/src/xcb_out.c @@ -258,7 +258,7 @@ int _xcb_out_write_block(XCBConnection *c, struct iovec *vector, size_t count) c->out.vec[c->out.vec_len].iov_base = (void *) pad; c->out.vec[c->out.vec_len++].iov_len = XCB_PAD(vector[i].iov_len); } - if(_xcb_out_flush(c) <= 0) + if(!_xcb_out_flush(c)) len = -1; free(c->out.vec); c->out.vec = 0; |