mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4829 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
36b0e98377
commit
0a0ccd1f4f
@ -33,7 +33,6 @@
|
|||||||
#define RSSERIAL_DEBUG 1
|
#define RSSERIAL_DEBUG 1
|
||||||
#define CHAT_DEBUG 1
|
#define CHAT_DEBUG 1
|
||||||
***/
|
***/
|
||||||
#define CHAT_DEBUG 1
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -738,10 +737,12 @@ RsChatMsgItem::RsChatMsgItem(void *data,uint32_t /*size*/,uint8_t subtype)
|
|||||||
uint32_t rssize = getRsItemSize(data);
|
uint32_t rssize = getRsItemSize(data);
|
||||||
bool ok = true ;
|
bool ok = true ;
|
||||||
|
|
||||||
|
#ifdef CHAT_DEBUG
|
||||||
std::cerr << "Received packet result: " ;
|
std::cerr << "Received packet result: " ;
|
||||||
for(int i=0;i<20;++i)
|
for(int i=0;i<20;++i)
|
||||||
std::cerr << (int)((uint8_t*)data)[i] << " " ;
|
std::cerr << (int)((uint8_t*)data)[i] << " " ;
|
||||||
std::cerr << std::endl ;
|
std::cerr << std::endl ;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* get mandatory parts first */
|
/* get mandatory parts first */
|
||||||
ok &= getRawUInt32(data, rssize, &offset, &chatFlags);
|
ok &= getRawUInt32(data, rssize, &offset, &chatFlags);
|
||||||
@ -855,7 +856,9 @@ RsChatLobbyUnsubscribeItem::RsChatLobbyUnsubscribeItem(void *data,uint32_t /*siz
|
|||||||
uint32_t rssize = getRsItemSize(data);
|
uint32_t rssize = getRsItemSize(data);
|
||||||
bool ok = true ;
|
bool ok = true ;
|
||||||
|
|
||||||
|
#ifdef CHAT_DEBUG
|
||||||
std::cerr << "RsChatLobbyUnsubscribeItem: rsitem size is " << rssize << std::endl;
|
std::cerr << "RsChatLobbyUnsubscribeItem: rsitem size is " << rssize << std::endl;
|
||||||
|
#endif
|
||||||
uint32_t offset = 8 ;
|
uint32_t offset = 8 ;
|
||||||
|
|
||||||
/* get mandatory parts first */
|
/* get mandatory parts first */
|
||||||
@ -872,7 +875,9 @@ RsChatLobbyConnectChallengeItem::RsChatLobbyConnectChallengeItem(void *data,uint
|
|||||||
uint32_t rssize = getRsItemSize(data);
|
uint32_t rssize = getRsItemSize(data);
|
||||||
bool ok = true ;
|
bool ok = true ;
|
||||||
|
|
||||||
|
#ifdef CHAT_DEBUG
|
||||||
std::cerr << "RsChatLobbyConnectChallengeItem: rsitem size is " << rssize << std::endl;
|
std::cerr << "RsChatLobbyConnectChallengeItem: rsitem size is " << rssize << std::endl;
|
||||||
|
#endif
|
||||||
uint32_t offset = 8 ;
|
uint32_t offset = 8 ;
|
||||||
|
|
||||||
/* get mandatory parts first */
|
/* get mandatory parts first */
|
||||||
@ -889,7 +894,9 @@ RsChatLobbyInviteItem::RsChatLobbyInviteItem(void *data,uint32_t /*size*/)
|
|||||||
uint32_t rssize = getRsItemSize(data);
|
uint32_t rssize = getRsItemSize(data);
|
||||||
bool ok = true ;
|
bool ok = true ;
|
||||||
|
|
||||||
|
#ifdef CHAT_DEBUG
|
||||||
std::cerr << "RsChatLobbyInviteItem: rsitem size is " << rssize << std::endl;
|
std::cerr << "RsChatLobbyInviteItem: rsitem size is " << rssize << std::endl;
|
||||||
|
#endif
|
||||||
uint32_t offset = 8 ;
|
uint32_t offset = 8 ;
|
||||||
|
|
||||||
/* get mandatory parts first */
|
/* get mandatory parts first */
|
||||||
|
Loading…
Reference in New Issue
Block a user