Commit 9215799b authored by jan.koester's avatar jan.koester
Browse files

test

parent 41294158
Loading
Loading
Loading
Loading
+1 −2
Changes for src/linux/event.cpp: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -127,12 +127,11 @@ namespace netplus {
                    exception[NetException::Error] << "ConnectEventHandler: can't add socket to epoll";
                    throw exception;
                }
                std::cout << "I'am connecting" << std::endl;
                ConnectEvent(ccon);
                ccon->conlock.unlock();
                return EventHandlerStatus::EVIN;
            }else{
                _trylockCon(ccon);
                _lockCon(ccon);
                if (ccon->getSendData()) {
                    _unlockCon(ccon);
                    return EventHandlerStatus::EVOUT;