Commit fc76523f authored by jan.koester's avatar jan.koester
Browse files

crash fixed

parent ced1ce35
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
@@ -223,7 +223,6 @@ namespace netplus {
                if(rcvsize>0){
                    rcon->RecvData.append(buf,rcvsize);
                    rcon->state=EVIN;
                    setpollEvents(rcon,EPOLLIN | EPOLLET | EPOLLONESHOT);
                }

                _evtapi->RequestEvent(rcon);
@@ -234,7 +233,7 @@ namespace netplus {
                    return;
                }

                setpollEvents(rcon,EPOLLIN | EPOLLET);
                setpollEvents(rcon,EPOLLIN | EPOLLET | EPOLLONESHOT);

            }catch(NetException &e){
                if(e.getErrorType()== NetException::Note){