mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-14 18:34:29 -05:00
suppressed debugging info to get back to fast directory browsing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1518 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4720de4f70
commit
d78ee60e30
@ -40,7 +40,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
//***********
|
||||
#define FIM_DEBUG 1
|
||||
//#define FIM_DEBUG 1
|
||||
// ***********/
|
||||
|
||||
FileIndexMonitor::FileIndexMonitor(CacheStrapper *cs, NotifyBase *cb_in,std::string cachedir, std::string pid)
|
||||
@ -983,7 +983,9 @@ int FileIndexMonitor::RequestDirDetails(void *ref, DirDetails &details, uint32_t
|
||||
|
||||
if(last_dir != NULL)
|
||||
{
|
||||
#ifdef FIM_DEBUG
|
||||
std::cerr << "FileIndexMonitor::RequestDirDetails: parent->name=" << last_dir->name << std::endl ;
|
||||
#endif
|
||||
std::map<std::string,SharedDirInfo>::const_iterator it = directoryMap.find(last_dir->name) ;
|
||||
|
||||
if(it == directoryMap.end())
|
||||
@ -992,7 +994,9 @@ int FileIndexMonitor::RequestDirDetails(void *ref, DirDetails &details, uint32_t
|
||||
{
|
||||
details.flags |= (( (it->second.shareflags & RS_FILE_HINTS_BROWSABLE)>0)?DIR_FLAGS_BROWSABLE:0) ;
|
||||
details.flags |= (( (it->second.shareflags & RS_FILE_HINTS_NETWORK_WIDE)>0)?DIR_FLAGS_NETWORK_WIDE:0) ;
|
||||
#ifdef FIM_DEBUG
|
||||
std::cerr << "flags = " << details.flags << std::endl ;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
#include <openssl/sha.h>
|
||||
|
||||
#define FI_DEBUG 1
|
||||
/****
|
||||
#define FI_DEBUG 1
|
||||
* #define FI_DEBUG_ALL 1
|
||||
****/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user