mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing code for searchTerms in new p3filelists service
This commit is contained in:
parent
93e70ca30b
commit
be6370ef13
@ -23,6 +23,7 @@
|
||||
*
|
||||
*/
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include <time.h>
|
||||
#include "util/rsdir.h"
|
||||
#include "util/rsprint.h"
|
||||
@ -687,13 +688,12 @@ int InternalFileHierarchyStorage::searchTerms(const std::list<std::string>& term
|
||||
{
|
||||
/* always ignore case */
|
||||
const std::string &str2 = (*iter);
|
||||
#ifdef TODO
|
||||
if(str1.end() != std::search( str1.begin(), str1.end(), str2.begin(), str2.end(), CompareCharIC() ))
|
||||
|
||||
if(str1.end() != std::search( str1.begin(), str1.end(), str2.begin(), str2.end(), RsRegularExpression::CompareCharIC() ))
|
||||
{
|
||||
results.push_back(fit->second);
|
||||
results.push_back(it->second);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return 0 ;
|
||||
|
Loading…
Reference in New Issue
Block a user