further remove of debug info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6247 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-03-19 20:21:20 +00:00
parent 87842640e1
commit 2dcc35d979
2 changed files with 11 additions and 2 deletions

View File

@ -597,7 +597,10 @@ bool ftFileCreator::finished()
bool ftFileCreator::hashReceivedData(std::string& hash)
{
std::cerr << "file creator " << hash << " asked for hashing received data " << file_name << std::endl;
#ifdef FILE_DEBUG
std::cerr << "file creator asked for hashing received data " << file_name << std::endl;
#endif
// csoler: No mutex here please !
//
// This is a bit dangerous, but otherwise we might stuck the GUI for a

View File

@ -439,7 +439,13 @@ bool AuthGPG::getGPGDetails(const std::string& id, RsPeerDetails &d)
if(id.length() != 16)
{
std::cerr << "Wrong string passed to getGPGDetails: \"" << id << "\"" << std::endl;
static int already = 0 ;
if(already < 10)
{
std::cerr << "Wrong string passed to getGPGDetails: \"" << id << "\"" << std::endl;
++already ;
}
return false ;
}