Loading src/event/kqueue.cpp +1 −10 Original line number Diff line number Diff line Loading @@ -131,11 +131,6 @@ namespace netplus { } } void resetEventHandler(int pos){ con *rcon = (con*)_Events[pos].udata; setpollEvents(rcon,EVFILT_READ,EV_ADD); } int pollState(int pos){ con *pcon = (con*)_Events[pos].udata; NetException exception; Loading Loading @@ -360,8 +355,7 @@ EVENTLOOP: break; default: NetException e; e[NetException::Error] << "EventWorker: Request type not kwon!"; pollptr.CloseEventHandler(i,tid,args); e[NetException::Error] << "EventWorker: no known event !"; throw e; } }catch(NetException& e){ Loading @@ -370,9 +364,6 @@ EVENTLOOP: throw e; case NetException::Note: break; case NetException::Close: pollptr.CloseEventHandler(i,tid,args); break; default: std::cerr << e.what() << std::endl; pollptr.CloseEventHandler(i,tid,args); Loading Loading
src/event/kqueue.cpp +1 −10 Original line number Diff line number Diff line Loading @@ -131,11 +131,6 @@ namespace netplus { } } void resetEventHandler(int pos){ con *rcon = (con*)_Events[pos].udata; setpollEvents(rcon,EVFILT_READ,EV_ADD); } int pollState(int pos){ con *pcon = (con*)_Events[pos].udata; NetException exception; Loading Loading @@ -360,8 +355,7 @@ EVENTLOOP: break; default: NetException e; e[NetException::Error] << "EventWorker: Request type not kwon!"; pollptr.CloseEventHandler(i,tid,args); e[NetException::Error] << "EventWorker: no known event !"; throw e; } }catch(NetException& e){ Loading @@ -370,9 +364,6 @@ EVENTLOOP: throw e; case NetException::Note: break; case NetException::Close: pollptr.CloseEventHandler(i,tid,args); break; default: std::cerr << e.what() << std::endl; pollptr.CloseEventHandler(i,tid,args); Loading