mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
87842640e1
commit
2dcc35d979
@ -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
|
||||
|
@ -438,8 +438,14 @@ bool AuthGPG::getGPGDetails(const std::string& id, RsPeerDetails &d)
|
||||
RsStackMutex stack(gpgMtxData); /******* LOCKED ******/
|
||||
|
||||
if(id.length() != 16)
|
||||
{
|
||||
static int already = 0 ;
|
||||
|
||||
if(already < 10)
|
||||
{
|
||||
std::cerr << "Wrong string passed to getGPGDetails: \"" << id << "\"" << std::endl;
|
||||
++already ;
|
||||
}
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user