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:
csoler 2009-06-18 12:26:32 +00:00
parent bb8b3ae091
commit c90f33534a

View File

@ -720,13 +720,13 @@ continue_packet:
uint32_t pktlen = blen+extralen ;
// std::cerr << "deserializing. Size=" << pktlen << std::endl ;
if(pktlen == 17306)
{
FILE *f = fopen("dbug.packet.bin","w");
fwrite(block,pktlen,1,f) ;
fclose(f) ;
exit(-1) ;
}
// if(pktlen == 17306)
// {
// FILE *f = fopen("dbug.packet.bin","w");
// fwrite(block,pktlen,1,f) ;
// fclose(f) ;
// exit(-1) ;
// }
RsItem *pkt = rsSerialiser->deserialise(block, &pktlen);
if ((pkt != NULL) && (0 < handleincomingitem(pkt)))