From fc6a86b5929888f1f5735ac0a293136909a21ede Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 4 Aug 2009 09:19:32 +0000 Subject: [PATCH] forgot to commit this one. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1488 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftcontroller.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/ft/ftcontroller.cc b/libretroshare/src/ft/ftcontroller.cc index f6c740253..1760fd639 100644 --- a/libretroshare/src/ft/ftcontroller.cc +++ b/libretroshare/src/ft/ftcontroller.cc @@ -1000,11 +1000,11 @@ bool ftController::setPartialsDirectory(std::string path) } if (rsFiles) { - std::list::iterator it; - std::list dirs; + std::list::iterator it; + std::list dirs; rsFiles->getSharedDirectories(dirs); for (it = dirs.begin(); it != dirs.end(); it++) { - if (!path.find(*it)) { + if (!path.find((*it).filename)) { return false; } }