From 170bbf4ce298c5ac86383a6789e7f2470129cd48 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 26 Sep 2012 19:24:59 +0000 Subject: [PATCH] removed debug info git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5609 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftdatamultiplex.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/ft/ftdatamultiplex.cc b/libretroshare/src/ft/ftdatamultiplex.cc index 94013957d..ccf1c8a9d 100644 --- a/libretroshare/src/ft/ftdatamultiplex.cc +++ b/libretroshare/src/ft/ftdatamultiplex.cc @@ -547,7 +547,9 @@ bool ftDataMultiplex::dispatchReceivedChunkCheckSum() if(itc == mClients.end()) { +#ifdef MPLEX_DEBUG std::cerr << "ftDataMultiplex::dispatchReceivedChunkCheckSum() ERROR: No matching Client for hash. This is probably a late answer. Dropping the hash. Hash=" << it->first << std::endl; +#endif std::map::iterator tmp(it) ; ++tmp ; @@ -943,7 +945,9 @@ bool ftDataMultiplex::handleRecvChunkCrcRequest(const std::string& peerId, const sha1cache._map.set(chunk_number,crc) ; } +#ifdef MPLEX_DEBUG std::cerr << "Sending CRC of chunk " << chunk_number<< " of file " << filename << ", hash=" << hash << ", size=" << filesize << ", crc=" << crc.toStdString() << std::endl; +#endif mDataSend->sendSingleChunkCRC(peerId,hash,chunk_number,crc); return true ;