+ fix small bug in the new indexer

pull/9/head
kelson42 14 years ago
parent c370de2010
commit bac4677edc

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

Loading…
Cancel
Save