Commit 1f13b8e5 authored by jan.koester's avatar jan.koester
Browse files

test

parent 57acad3a
Loading
Loading
Loading
Loading
+9
Changes for src/event/kqueue.cpp: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -223,6 +223,10 @@ namespace netplus {
        void ReadEventHandler(int pos,const int tid,ULONG_PTR args) {
            con *rcon = (con*)_Events[pos].udata;

            if (!wcon || !wcon->csock) {
                return;
            }

            if(!rcon)
                return;
            try{
@@ -260,6 +264,11 @@ namespace netplus {

        void WriteEventHandler(int pos,const int tid,ULONG_PTR args) {
            con *wcon = (con*)_Events[pos].udata;

            if (!wcon || !wcon->csock) {
                return;
            }

            try{

                _evtapi->ResponseEvent(*wcon,tid,args);