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:
csoler 2009-08-04 09:19:32 +00:00
parent f9dc3b223b
commit fc6a86b592

View File

@ -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;
}
}