mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
crlf
This commit is contained in:
parent
a55f19fc47
commit
b454e1563f
@ -99,9 +99,9 @@ namespace mongo {
|
||||
reserved = 0;
|
||||
magic[0] = magic[1] = magic[2] = magic[3] = '\n';
|
||||
|
||||
Checksum c;
|
||||
c.gen(begin, (unsigned) len);
|
||||
memcpy(hash, c.bytes, sizeof(hash));
|
||||
Checksum c;
|
||||
c.gen(begin, (unsigned) len);
|
||||
memcpy(hash, c.bytes, sizeof(hash));
|
||||
}
|
||||
|
||||
bool JSectFooter::checkHash(const void* begin, int len) const {
|
||||
|
Loading…
Reference in New Issue
Block a user