mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05:00
hope this fix the new bug with exchange of rs version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c3e68f3842
commit
ca4b4dde5e
@ -643,8 +643,9 @@ std::ostream &RsDiscVersion::print(std::ostream &out, uint16_t indent)
|
||||
|
||||
uint32_t RsDiscSerialiser::sizeVersion(RsDiscVersion *item)
|
||||
{
|
||||
uint32_t s = 8;
|
||||
s += GetTlvStringSize(item->version);
|
||||
uint32_t s = 8; /* header */
|
||||
s += 4; /* size in RawString() */
|
||||
s += item->version.length();
|
||||
|
||||
return s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user