From 971431bfa11a4b8850bf10365fa62b8fcc08e5dd Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 26 May 2010 19:52:38 +0000 Subject: [PATCH] suppressed debug messages git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3007 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/dbase/fimonitor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/dbase/fimonitor.cc b/libretroshare/src/dbase/fimonitor.cc index 9be7d6c20..a3762635e 100644 --- a/libretroshare/src/dbase/fimonitor.cc +++ b/libretroshare/src/dbase/fimonitor.cc @@ -636,10 +636,14 @@ void FileIndexMonitor::hashFiles(const std::vector& to_hash) #endif // 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 ; +#endif if(size > last_save_size + MAX_SIZE_WITHOUT_SAVING) { +#ifdef FIM_DEBUG cb->notifyHashingInfo("Saving file index...") ; +#endif #ifdef WINDOWS_SYS Sleep(1000) ; #else