Commit e79eb4a8 authored by jan.koester's avatar jan.koester
Browse files

test

parent a4f0e830
Loading
Loading
Loading
Loading
+4 −3
Changes for src/event/kqueue.cpp: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -134,9 +134,10 @@ namespace netplus {

        int getEventFlags(int pos) {
            // Check for error/hangs (EPOLLHUP/EPOLLERR)
            if (events &  (EV_EOF | EV_ERROR)) {
                NetException e,
                e[NetException::Error] <<  "getEventFlags: som error";;
            if (_Events[pos].flags &  (EV_EOF | EV_ERROR)) {
                NetException e;
                e[NetException::Error] <<  "getEventFlags: som error";
                throw e;
            }
            return _Events[pos].filter;
        }