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:
csoler 2012-01-20 20:47:05 +00:00
parent 36b0e98377
commit 0a0ccd1f4f

View File

@ -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 */