Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Dec 3, 2023
1 parent 5948fcd commit ac2cb7a
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 140 deletions.
2 changes: 2 additions & 0 deletions src/format/Kdbx4Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ bool Kdbx4Writer::serializeVariantMap(const QVariantMap& map, QByteArray& output
QByteArray dataLenBytes = Endian::sizedIntToBytes(data.size(), KeePass2::BYTEORDER);

CHECK_RETURN_FALSE(buf.write(typeBytes) == 1);
auto res = buf.write(nameLenBytes) == 4;
qDebug() << res;
CHECK_RETURN_FALSE(buf.write(nameLenBytes) == 4);
CHECK_RETURN_FALSE(buf.write(nameBytes) == nameBytes.size());
CHECK_RETURN_FALSE(buf.write(dataLenBytes) == 4);
Expand Down
Loading

0 comments on commit ac2cb7a

Please sign in to comment.