mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug for 'copy error' and losing cache data
conflict in unix and windows style directory names led to cleaning of remote and local directories in Cachestrapper::loadlist() git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c62f642706
commit
58ecbcb331
@ -31,8 +31,8 @@
|
||||
#include <iomanip>
|
||||
|
||||
/****
|
||||
* #define CS_DEBUG 1
|
||||
***/
|
||||
* #define CS_DEBUG 1
|
||||
***/
|
||||
|
||||
bool operator<(const CacheId &a, const CacheId &b)
|
||||
{
|
||||
@ -1017,7 +1017,7 @@ bool CacheStrapper::loadList(std::list<RsItem *>& load)
|
||||
#ifdef CS_DEBUG
|
||||
std::cerr << "CacheStrapper::loadList() Cleaning cache dir: <" << *dit << ">" << std::endl;
|
||||
#endif
|
||||
sit = saveFiles.find(*dit);
|
||||
sit = saveFiles.find(RsDirUtil::convertPathToUnix(*dit));
|
||||
if (sit != saveFiles.end())
|
||||
{
|
||||
#ifdef CS_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user