suppressed debug messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-05-26 19:52:38 +00:00
parent d6bb8f5f00
commit 971431bfa1

View File

@ -636,10 +636,14 @@ void FileIndexMonitor::hashFiles(const std::vector<DirContentToHash>& to_hash)
#endif #endif
// Save the hashing result every 60 seconds, so has to save what is already hashed. // Save the hashing result every 60 seconds, so has to save what is already hashed.
#ifdef FIM_DEBUG
std::cerr << "size - last_save_size = " << size - last_save_size << ", max=" << MAX_SIZE_WITHOUT_SAVING << std::endl ; std::cerr << "size - last_save_size = " << size - last_save_size << ", max=" << MAX_SIZE_WITHOUT_SAVING << std::endl ;
#endif
if(size > last_save_size + MAX_SIZE_WITHOUT_SAVING) if(size > last_save_size + MAX_SIZE_WITHOUT_SAVING)
{ {
#ifdef FIM_DEBUG
cb->notifyHashingInfo("Saving file index...") ; cb->notifyHashingInfo("Saving file index...") ;
#endif
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS
Sleep(1000) ; Sleep(1000) ;
#else #else