mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
Bugfixes to rsmsgitems & rsserial.
removed testing utilites rstlvutil. fixed up rsgxsiditems printing. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7fa611b2e7
commit
3eb79bbcba
7 changed files with 16 additions and 241 deletions
|
@ -652,7 +652,10 @@ bool RsChatLobbyListItem::serialise(void *data, uint32_t& pktsize)
|
|||
if (pktsize < tlvsize)
|
||||
return false; /* not enough space */
|
||||
|
||||
if(lobby_ids.size() != lobby_counts.size() || lobby_ids.size() != lobby_names.size())
|
||||
if((lobby_ids.size() != lobby_names.size()) ||
|
||||
(lobby_ids.size() != lobby_topics.size()) ||
|
||||
(lobby_ids.size() != lobby_counts.size()) ||
|
||||
(lobby_ids.size() != lobby_privacy_levels.size()))
|
||||
{
|
||||
std::cerr << "Consistency error in RsChatLobbyListItem!! Sizes don't match!" << std::endl;
|
||||
return false ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue