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

oh no

parent 0c8ad539
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/data.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ namespace authdb {
        for(AuthData* curec=&rec; curec; curec=curec->next()){
            curec->Data.type=type;
            backend.setPos(wd);
            backend.write(reinterpret_cast<unsigned char*>(&curec),sizeof(struct AuthData::Record));
            backend.write(reinterpret_cast<unsigned char*>(curec),sizeof(struct AuthData::Record));
            backend.write(reinterpret_cast<unsigned char*>(curec->Data.data),curec->Data.datasize);
            wd=backend.end();
        }