Commit 5ecca5c4 authored by jan.koester's avatar jan.koester
Browse files

nonblock

parent c52c8a82
Loading
Loading
Loading
Loading
+2 −2
Changes for src/session.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -261,9 +261,9 @@ const authdb::SessionData *authdb::Session::addSession(AuthBackend &backend,uuid
            GpoData::Allow allow;
            gpodat.getAlowed(allow);
            for(size_t i =0; i< allow.count; ++i){
                for(const uuid &member : _lastData->_members){
                for(uuid member : _lastData->_members){
                    if(member==allow.uid[i]){
                        gpores->GPORes=gpores->GPORes ? false : true;
                        gpores->GPORes=gpodat.getGpoValue() ? false : true;
                    }
                }
            }
+0 −4
Changes for src/uuid.cpp: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -45,10 +45,6 @@ authdb::uuid::uuid(const char* src) : uuid() {
        throw AuthBackendError("invalid uuid!");
}


authdb::uuid::~uuid(){
}

int authdb::uuid::parse(const char* src){
     return uuid_parse(src,value);
}
+1 −1
Changes for src/uuid.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ namespace authdb{
      uuid(const uuid_t &src);
      uuid(const char *src);

      ~uuid();
      ~uuid()=default;

      void generate();
      const char *c_str() const;