diff options
-rw-r--r-- | ext/asio/asio/detail/impl/kqueue_reactor.ipp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/asio/asio/detail/impl/kqueue_reactor.ipp b/ext/asio/asio/detail/impl/kqueue_reactor.ipp index 8db77cb3e5..00ebfeb674 100644 --- a/ext/asio/asio/detail/impl/kqueue_reactor.ipp +++ b/ext/asio/asio/detail/impl/kqueue_reactor.ipp @@ -301,12 +301,14 @@ void kqueue_reactor::run(bool block, op_queue<operation>& ops) EV_ADD | EV_ONESHOT, EV_OOBAND, 0, descriptor_data); else continue; + break; case EVFILT_WRITE: if (!descriptor_data->op_queue_[write_op].empty()) ASIO_KQUEUE_EV_SET(&event, descriptor, EVFILT_WRITE, EV_ADD | EV_ONESHOT, 0, 0, descriptor_data); else continue; + break; default: break; } |