added a progress counter for reindex

This commit is contained in:
SJ 2014-07-16 23:26:37 +02:00
parent 4c352efb76
commit 850445a324

View File

@ -131,7 +131,7 @@ uint64 retrieve_email_by_metadata_id(struct session_data *sdata, struct __data *
unlink(filename); unlink(filename);
if(progressbar && reindexed % 100 == 0) printf("."); if(progressbar) printf("processed: %8llu\r", reindexed); fflush(stdout);
} }
else printf("cannot open: %s\n", filename); else printf("cannot open: %s\n", filename);