mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -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
1 changed files with 3 additions and 3 deletions
|
@ -1017,7 +1017,7 @@ bool CacheStrapper::loadList(std::list<RsItem *>& load)
|
||||||
#ifdef CS_DEBUG
|
#ifdef CS_DEBUG
|
||||||
std::cerr << "CacheStrapper::loadList() Cleaning cache dir: <" << *dit << ">" << std::endl;
|
std::cerr << "CacheStrapper::loadList() Cleaning cache dir: <" << *dit << ">" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
sit = saveFiles.find(*dit);
|
sit = saveFiles.find(RsDirUtil::convertPathToUnix(*dit));
|
||||||
if (sit != saveFiles.end())
|
if (sit != saveFiles.end())
|
||||||
{
|
{
|
||||||
#ifdef CS_DEBUG
|
#ifdef CS_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue