mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed debug ifdef
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4272 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f290c8eca4
commit
3925a7114a
@ -48,7 +48,6 @@
|
||||
//***********
|
||||
//#define FIM_DEBUG 1
|
||||
// ***********/
|
||||
#define FIM_DEBUG 1
|
||||
|
||||
FileIndexMonitor::FileIndexMonitor(CacheStrapper *cs, NotifyBase *cb_in,std::string cachedir, std::string pid,const std::string& config_dir)
|
||||
:CacheSource(RS_SERVICE_TYPE_FILE_INDEX, false, cs, cachedir), fi(pid),
|
||||
@ -1079,6 +1078,12 @@ void FileIndexMonitor::setSharedDirectories(const std::list<SharedDirInfo>& d
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
checkeddirs.push_back(*it);
|
||||
|
||||
#ifdef REMOVED_CODE
|
||||
// this code has been removed because it prevents unmounted shared directories to stay in the list of shared files. It's better
|
||||
// to keep them showing empty than removing them completely.
|
||||
//
|
||||
/* check if dir exists before adding in */
|
||||
// std::string path = (*it).filename;
|
||||
// if (!RsDirUtil::checkDirectory(path))
|
||||
@ -1090,8 +1095,9 @@ void FileIndexMonitor::setSharedDirectories(const std::list<SharedDirInfo>& d
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
checkeddirs.push_back(*it);
|
||||
// checkeddirs.push_back(*it);
|
||||
// }
|
||||
#endif
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user