diff options
Diffstat (limited to 'src/misc/skabus-dynteed.c')
-rw-r--r-- | src/misc/skabus-dynteed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/skabus-dynteed.c b/src/misc/skabus-dynteed.c index 7eb69d8..e273036 100644 --- a/src/misc/skabus-dynteed.c +++ b/src/misc/skabus-dynteed.c @@ -231,9 +231,9 @@ int main (int argc, char const *const *argv, char const *const *envp) if (x[0].revents & IOPAUSE_READ) handle_signals() ; - for (unsigned int i = 0 ; i < numconn ; i++) + for (unsigned int i = 0 ; i < numconn ; i++) if (bufalloc_len(&clients[i].ba)) { - if (x[clients[i].xindex].events & x[clients[i].xindex].revents & (IOPAUSE_WRITE | IOPAUSE_EXCEPT)) + if (x[clients[i].xindex].revents & (IOPAUSE_WRITE | IOPAUSE_EXCEPT)) { if (!bufalloc_flush(&clients[i].ba) && !error_isagain(errno)) { |