reduced size of output for buggy RsItems

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-04-03 21:57:24 +00:00
parent e0ddaf8212
commit 70918e9dcf

View File

@ -438,7 +438,7 @@ RsItem * RsSerialiser::deserialise(void *data, uint32_t *size)
std::cerr << " Class: " << std::hex << (uint32_t) getRsItemClass(failedtype) << std::dec;
std::cerr << " Type: " << std::hex << (uint32_t) getRsItemType(failedtype) << std::dec;
std::cerr << " SubType: " << std::hex << (uint32_t) getRsItemSubType(failedtype) << std::dec;
std::cerr << " Data: " << RsUtil::BinToHex((char*)data,pkt_size) << std::endl;
std::cerr << " Data: " << RsUtil::BinToHex((char*)data,pkt_size).substr(0,300) << std::endl;
std::cerr << std::endl;
#endif
return NULL;
@ -461,7 +461,7 @@ RsItem * RsSerialiser::deserialise(void *data, uint32_t *size)
std::cerr << " Class: " << std::hex << (uint32_t) getRsItemClass(failedtype) << std::dec;
std::cerr << " Type: " << std::hex << (uint32_t) getRsItemType(failedtype) << std::dec;
std::cerr << " SubType: " << std::hex << (uint32_t) getRsItemSubType(failedtype) << std::dec;
std::cerr << " Data: " << RsUtil::BinToHex((char*)data,pkt_size) << std::endl;
std::cerr << " Data: " << RsUtil::BinToHex((char*)data,pkt_size).substr(0,300) << std::endl;
std::cerr << std::endl;
#endif
}