projects
/
profile
/
ivi
/
libxcb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
74057c7
)
_xcb_conn_wait: Fix whitespace.
author
Jamey Sharp
<jamey@minilop.net>
Tue, 13 Jul 2010 14:01:06 +0000
(07:01 -0700)
committer
Jamey Sharp
<jamey@minilop.net>
Tue, 13 Jul 2010 14:10:50 +0000
(07:10 -0700)
Signed-off-by: Jamey Sharp <jamey@minilop.net>
src/xcb_conn.c
patch
|
blob
|
history
diff --git
a/src/xcb_conn.c
b/src/xcb_conn.c
index
50a662b
..
7e18891
100644
(file)
--- 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);