mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 07:10:12 -04:00
suppressed debug code in pqistreamer that could cause RS to stopcd ../../libretroshare/src/
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.4.x@1305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bb8b3ae091
commit
c90f33534a
1 changed files with 7 additions and 7 deletions
|
@ -720,13 +720,13 @@ continue_packet:
|
||||||
uint32_t pktlen = blen+extralen ;
|
uint32_t pktlen = blen+extralen ;
|
||||||
// std::cerr << "deserializing. Size=" << pktlen << std::endl ;
|
// std::cerr << "deserializing. Size=" << pktlen << std::endl ;
|
||||||
|
|
||||||
if(pktlen == 17306)
|
// if(pktlen == 17306)
|
||||||
{
|
// {
|
||||||
FILE *f = fopen("dbug.packet.bin","w");
|
// FILE *f = fopen("dbug.packet.bin","w");
|
||||||
fwrite(block,pktlen,1,f) ;
|
// fwrite(block,pktlen,1,f) ;
|
||||||
fclose(f) ;
|
// fclose(f) ;
|
||||||
exit(-1) ;
|
// exit(-1) ;
|
||||||
}
|
// }
|
||||||
RsItem *pkt = rsSerialiser->deserialise(block, &pktlen);
|
RsItem *pkt = rsSerialiser->deserialise(block, &pktlen);
|
||||||
|
|
||||||
if ((pkt != NULL) && (0 < handleincomingitem(pkt)))
|
if ((pkt != NULL) && (0 < handleincomingitem(pkt)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue