Loading src/session.cpp +2 −2 Changes for src/session.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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; } } } Loading src/uuid.cpp +0 −4 Changes for src/uuid.cpp: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -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); } Loading src/uuid.h +1 −1 Changes for src/uuid.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -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; Loading Loading
src/session.cpp +2 −2 Changes for src/session.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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; } } } Loading
src/uuid.cpp +0 −4 Changes for src/uuid.cpp: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -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); } Loading
src/uuid.h +1 −1 Changes for src/uuid.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -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; Loading