Loading src/event/kqueue.cpp +4 −3 Changes for src/event/kqueue.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
src/event/kqueue.cpp +4 −3 Changes for src/event/kqueue.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -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; } Loading