projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5458e4
)
Off-by-one error in the sequence-wrapping proof, and therefore in the corresponding...
author
Jamey Sharp
<jamey@minilop.net>
Mon, 6 Mar 2006 09:10:20 +0000
(
01:10
-0800)
committer
Jamey Sharp
<jamey@minilop.net>
Mon, 6 Mar 2006 09:10:20 +0000
(
01:10
-0800)
src/xcb_out.c
patch
|
blob
|
history
diff --git
a/src/xcb_out.c
b/src/xcb_out.c
index
c4ef737
..
2494ef3
100644
(file)
--- a/
src/xcb_out.c
+++ b/
src/xcb_out.c
@@
-136,7
+136,7
@@
unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, c
while(c->out.writing)
pthread_cond_wait(&c->out.cond, &c->iolock);
- if(req->isvoid && c->out.request == c->in.request_expected + (1 << 16) -
1
)
+ if(req->isvoid && c->out.request == c->in.request_expected + (1 << 16) -
2
)
{
prefix[0] = sync.packet;
request = ++c->out.request;