This commit is contained in:
Kovid Goyal 2017-09-08 09:18:47 +05:30
parent 6379b3f898
commit d2749f5ccc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -449,7 +449,6 @@ main_loop(ChildMonitor *self) {
// }}}
// I/O thread functions {{{
static inline void
@ -670,7 +669,7 @@ io_loop(void *data) {
if (false) {
for (i = 0; i < self->count + EXTRA_FDS; i++) {
#define P(w) if (fds[i].revents & w) printf("i:%lu %s\n", i, #w);
P(POLLIN); P(POLLPRI); P(POLLOUT); P(POLLRDHUP); P(POLLERR); P(POLLHUP); P(POLLNVAL);
P(POLLIN); P(POLLPRI); P(POLLOUT); P(POLLERR); P(POLLHUP); P(POLLNVAL);
#undef P
}