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

test

parent 5ecca5c4
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/gpo.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -86,9 +86,9 @@ void authdb::GpoData::getAlowed(Allow &allowed){

    std::copy(_Allowed->data,_Allowed->data+sizeof(size_t),&allowed.count);
    allowed.uid=new uuid_t[allowed.count];
    const char *start = _Allowed->data+sizeof(size_t);
    uuid_t *start = reinterpret_cast<uuid_t*>(_Allowed->data+sizeof(size_t));
    for(size_t i =0; i<allowed.count; ++i){
         std::copy(start+(sizeof(uuid_t)*i),start+(sizeof(uuid_t)*i)+sizeof(uuid_t), reinterpret_cast<char*>(&allowed.uid[i]));
         uuid_copy(allowed.uid[i],*(start+(sizeof(uuid_t)*i)));
    }
}

+2 −2

File changed.

Contains only whitespace changes.