mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
fixed build error
This commit is contained in:
parent
fd7fca1d54
commit
a2d69a8b66
1 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@ namespace data
|
||||||
signatureType = be16toh (signatureType);
|
signatureType = be16toh (signatureType);
|
||||||
uint16_t signatureLength;
|
uint16_t signatureLength;
|
||||||
s.read ((char *)&signatureLength, 2); // signature length
|
s.read ((char *)&signatureLength, 2); // signature length
|
||||||
signatureLength = be16toh (signatureLentgh);
|
signatureLength = be16toh (signatureLength);
|
||||||
s.seekg (1, std::ios::cur); // unused
|
s.seekg (1, std::ios::cur); // unused
|
||||||
uint8_t versionLength;
|
uint8_t versionLength;
|
||||||
s.read ((char *)&versionLength, 1); // version length
|
s.read ((char *)&versionLength, 1); // version length
|
||||||
|
@ -171,8 +171,8 @@ namespace data
|
||||||
}
|
}
|
||||||
s.seekg (2, std::ios::cur); // unused
|
s.seekg (2, std::ios::cur); // unused
|
||||||
|
|
||||||
s.seek (versionLength, std::ios::cur); // skip version
|
s.seekg (versionLength, std::ios::cur); // skip version
|
||||||
s.seek (signerIDLength, std::ios::cur); // skip signer ID
|
s.seekg (signerIDLength, std::ios::cur); // skip signer ID
|
||||||
|
|
||||||
// handle content
|
// handle content
|
||||||
while (!s.eof ())
|
while (!s.eof ())
|
||||||
|
|
Loading…
Add table
Reference in a new issue