Commit 8fe8b912 authored by jan.koester's avatar jan.koester
Browse files

test

parent c6b348ef
Loading
Loading
Loading
Loading
+3 −3
Changes for src/event/epoll.cpp: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -214,13 +214,13 @@ namespace netplus {
            con *rcon =  reinterpret_cast<con*>(_Events[pos].data.ptr);
            buffer buf(BLOCKSIZE);

            if (!rcon || !rcon->csock) {
            if (!_Events[pos].data.ptr || !rcon->csock) {
                return;
            }

            std::lock_guard<std::mutex> lock_guard(rcon->event_mutex);

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

            try{

@@ -259,7 +259,7 @@ namespace netplus {

            std::lock_guard<std::mutex> lock_guard(wcon->event_mutex);

            if (!wcon->csock) { return; }
            if (!_Events[pos].data.ptr || !wcon->csock) { return; }

            try{
                evconnection->ResponseEvent(*wcon,tid,args);