summaryrefslogtreecommitdiff
path: root/src/xcb_in.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2013-09-09 13:04:11 +0200
committerUli Schlachter <psychon@znc.in>2014-03-21 14:35:16 +0100
commitd84dd752ef571491b015443fefedca53c7f81282 (patch)
tree6cf44815f15c048b769edcf997996b9f1e0d7c5e /src/xcb_in.c
parent4ffa6f83b92763eb901c7ddb7c20775e24d507ca (diff)
Remove tabs and trailing whitespaces
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/xcb_in.c')
-rw-r--r--src/xcb_in.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c
index 95087be..14b67ae 100644
--- a/src/xcb_in.c
+++ b/src/xcb_in.c
@@ -200,9 +200,9 @@ static int read_packet(xcb_connection_t *c)
c->in.request_completed = c->in.request_read - 1;
}
- while(c->in.pending_replies &&
+ while(c->in.pending_replies &&
c->in.pending_replies->workaround != WORKAROUND_EXTERNAL_SOCKET_OWNER &&
- XCB_SEQUENCE_COMPARE (c->in.pending_replies->last_request, <=, c->in.request_completed))
+ XCB_SEQUENCE_COMPARE (c->in.pending_replies->last_request, <=, c->in.request_completed))
{
pending_reply *oldpend = c->in.pending_replies;
c->in.pending_replies = oldpend->next;
@@ -386,11 +386,11 @@ static int read_block(const int fd, void *buf, const ssize_t len)
FD_ZERO(&fds);
FD_SET(fd, &fds);
- /* Initializing errno here makes sure that for Win32 this loop will execute only once */
- errno = 0;
- do {
- ret = select(fd + 1, &fds, 0, 0, 0);
- } while (ret == -1 && errno == EINTR);
+ /* Initializing errno here makes sure that for Win32 this loop will execute only once */
+ errno = 0;
+ do {
+ ret = select(fd + 1, &fds, 0, 0, 0);
+ } while (ret == -1 && errno == EINTR);
#endif /* USE_POLL */
}
if(ret <= 0)
@@ -746,7 +746,7 @@ xcb_register_for_special_xge(xcb_connection_t *c,
pthread_mutex_unlock(&c->iolock);
return NULL;
}
-
+
se->extension = ext_reply->major_opcode;
se->eid = eid;