Commit 661331f7 authored by jan.koester's avatar jan.koester
Browse files

ups

parent 38b9e775
Loading
Loading
Loading
Loading
+1 −1
Changes for src/event/kqueue.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ namespace netplus {
            struct kevent setevent {};
            setevent.udata = ccon.get();
            {
                std::lock_guard<std::mutex> lock_guard(rcon->event_mutex);
                std::lock_guard<std::mutex> lock_guard(ccon->event_mutex);
                EV_SET(&setevent, ccon->csock->fd(), EVFILT_READ, EV_ADD | EV_ONESHOT,0,0,ccon.get());

                int estate = kevent(_pollFD, &setevent, 1, nullptr, 0, nullptr);