[Xcb-commit] reply
Vincent Torri
doursse at kemper.freedesktop.org
Fri Nov 10 00:30:44 PST 2006
reply/reply.c | 3 +++
1 files changed, 3 insertions(+)
New commits:
diff-tree 44b2f6aac77b305e455edad90b4b9348ef6b06b8 (from 5673867e581a1228f640dce1fd762671e1ee48d3)
Author: TORRI Vincent <torri at alf94-3-82-66-248-160.fbx.proxad.net>
Date: Fri Nov 10 09:30:28 2006 +0100
explicit braces to avoid ambiguous 'else' and return value
diff --git a/reply/reply.c b/reply/reply.c
index 6f90883..2072ae1 100644
--- a/reply/reply.c
+++ b/reply/reply.c
@@ -91,12 +91,15 @@ static int process_replies(reply_handler
if(!reply)
remove_handler(h, cur);
if(!h->head)
+ {
if(block)
pthread_cond_wait(&h->cond, &h->lock);
else
break;
+ }
}
pthread_cleanup_pop(1);
+ return handled;
}
int poll_replies(reply_handlers_t *h)
More information about the xcb-commit
mailing list