[Xcb-commit] src
Jamey Sharp
jamey at kemper.freedesktop.org
Tue Jul 13 07:11:03 PDT 2010
src/xcb_conn.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 496efb7624d14b4ca0391f44926edc448cbd605e
Author: Jamey Sharp <jamey at minilop.net>
Date: Tue Jul 13 07:01:06 2010 -0700
_xcb_conn_wait: Fix whitespace.
Signed-off-by: Jamey Sharp <jamey at minilop.net>
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 50a662b..7e18891 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -310,15 +310,15 @@ int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vec
pthread_mutex_unlock(&c->iolock);
do {
#if USE_POLL
- ret = poll(&fd, 1, -1);
+ ret = poll(&fd, 1, -1);
#else
- ret = select(c->fd + 1, &rfds, &wfds, 0, 0);
+ ret = select(c->fd + 1, &rfds, &wfds, 0, 0);
#endif
} while (ret == -1 && errno == EINTR);
- if (ret < 0)
+ if(ret < 0)
{
_xcb_conn_shutdown(c);
- ret = 0;
+ ret = 0;
}
pthread_mutex_lock(&c->iolock);
More information about the xcb-commit
mailing list