Commit 20f9924d authored by jan.koester's avatar jan.koester
Browse files

ups

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

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

            if(!rcon)
                return;
            try{
                buffer buf(BLOCKSIZE);
                size_t rcvsize = rcon->csock->recvData(buf,0);