let dir go through indexfiles() (name will be indexed, non recursive)

This commit is contained in:
Jean-Francois Dockes 2011-09-30 08:44:50 +02:00
parent 91778f8943
commit e0aa67f0dc

View File

@ -217,13 +217,6 @@ bool FsIndexer::indexFiles(list<string>& files, ConfIndexer::IxFlag flag)
strerror(errno)));
it++; continue;
}
// If we get to indexing directory names one day, will need to test
// against dbdir here to avoid modification loops (with rclmon).
if (!S_ISREG(stb.st_mode)) {
LOGDEB(("FsIndexer::indexFiles: skipping [%s] (nr)\n",
it->c_str()));
it++; continue;
}
int abslen;
if (m_config->getConfParam("idxabsmlen", &abslen))