diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-10 19:46:34 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-10 19:46:34 +0000 |
commit | f2eb28bc31da833feed1c35e0dc4c87b2b32dc3c (patch) | |
tree | 5555a489f69d75fc141b896e3a2ebb2a8770d6b3 /src/s_bsd_devpoll.c | |
parent | 0efb6adec538b6112b3e2ce782cc84001fb6ecd0 (diff) |
- s_bsd_select.c, s_bsd_devpoll.c, s_bsd_epoll.c,
s_bsd_kqueue.c, s_bsd_poll.c: style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2649 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/s_bsd_devpoll.c')
-rw-r--r-- | src/s_bsd_devpoll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s_bsd_devpoll.c b/src/s_bsd_devpoll.c index 49d4eee..4bc5aaa 100644 --- a/src/s_bsd_devpoll.c +++ b/src/s_bsd_devpoll.c @@ -163,6 +163,7 @@ comm_select(void) continue; if ((dopoll.dp_fds[i].revents & POLLIN)) + { if ((hdl = F->read_handler) != NULL) { F->read_handler = NULL; @@ -170,8 +171,10 @@ comm_select(void) if (!F->flags.open) continue; } + } if ((dopoll.dp_fds[i].revents & POLLOUT)) + { if ((hdl = F->write_handler) != NULL) { F->write_handler = NULL; @@ -179,6 +182,7 @@ comm_select(void) if (!F->flags.open) continue; } + } comm_setselect(F, 0, NULL, NULL, 0); } |