mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-18 20:34:26 -05:00
forgot to commit this one.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1488 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f9dc3b223b
commit
fc6a86b592
@ -1000,11 +1000,11 @@ bool ftController::setPartialsDirectory(std::string path)
|
||||
}
|
||||
|
||||
if (rsFiles) {
|
||||
std::list<std::string>::iterator it;
|
||||
std::list<std::string> dirs;
|
||||
std::list<SharedDirInfo>::iterator it;
|
||||
std::list<SharedDirInfo> dirs;
|
||||
rsFiles->getSharedDirectories(dirs);
|
||||
for (it = dirs.begin(); it != dirs.end(); it++) {
|
||||
if (!path.find(*it)) {
|
||||
if (!path.find((*it).filename)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user