+ fix small bug in the new indexer

This commit is contained in:
kelson42 2012-04-02 19:49:16 +00:00
parent c370de2010
commit bac4677edc

View File

@ -107,14 +107,11 @@ int main(int argc, char **argv) {
/* Start the indexing */
if (indexer != NULL) {
/*
indexer->start();
while (indexer->isRunning()) {
cout << "Checking if running..." << endl;
sleep(1);
}
*/
while (indexer->indexNextPercent(verboseFlag)) {};
//while (indexer->indexNextPercent(verboseFlag)) {};
delete indexer;
} else {
cerr << "Unable instanciate the Kiwix indexer." << endl;