improved debug info in a few places

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-07-09 20:55:11 +00:00
parent c0ad7d3e46
commit 249c827f95
6 changed files with 15 additions and 10 deletions

View file

@ -170,9 +170,9 @@ void ftController::addFileSource(const RsFileHash& hash,const RsPeerId& peer_id)
std::map<RsFileHash, ftFileControl*>::iterator it = mDownloads.find(hash);
//#ifdef CONTROL_DEBUG
#ifdef CONTROL_DEBUG
std::cerr << "ftController: Adding source " << peer_id << " to current download hash=" << hash ;
//#endif
#endif
if(it != mDownloads.end())
{
it->second->mTransfer->addFileSource(peer_id);