Commit 630164ac authored by jan.koester's avatar jan.koester
Browse files

opts

parent 4d5e6ec0
Loading
Loading
Loading
Loading
Loading
+7 −5
Changes for src/admin.cpp: 7 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -1503,8 +1503,8 @@ namespace authdb {
                                    else
                                        gpodat->setGpoValue(true);
                                }else if(strcmp(curdispo->getValue(),"gpoingroup")==0 ){
                                    uuid gal;
                                    std::copy(curformdat->Value.data(),curformdat->Value.data()+curformdat->Value.size(),&gal.value[0]);
                                    uuid_t gal;
                                    std::copy(curformdat->Value.begin(),curformdat->Value.end(),&gal[0]);
                                    allow.emplace_back(gal);
                                }
                            }
@@ -1648,9 +1648,11 @@ namespace authdb {
                                    gpodat.setGpoValue(true);
                            }else if(strcmp(curdispo->getValue(),"gpoingroup")==0 ){
                                uuid_t gal;
                                std::copy(curformdat->Value.data(),
                                    curformdat->Value.data()+curformdat->Value.size(),
                                    &gal[0]);
                                std::copy(
                                    curformdat->Value.begin(),
                                    curformdat->Value.end(),
                                    &gal[0]
                                );
                                allow.emplace_back(gal);
                            }
                        }
+0 −1
Changes for src/authdb.h: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@ namespace authdb {
                    gid==curec->Data.ruid &&
                    strcmp(curec->Data.fieldname,varname)==0
                ){

                    target=&curec->Data;
                    target->datasize=0;
                    delete[] target->data;