From 850445a324eeb5a48844b0fa6dafba59c13905a4 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 16 Jul 2014 23:26:37 +0200 Subject: [PATCH] added a progress counter for reindex --- src/reindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reindex.c b/src/reindex.c index d31ab7cb..956b93b0 100644 --- a/src/reindex.c +++ b/src/reindex.c @@ -131,7 +131,7 @@ uint64 retrieve_email_by_metadata_id(struct session_data *sdata, struct __data * unlink(filename); - if(progressbar && reindexed % 100 == 0) printf("."); + if(progressbar) printf("processed: %8llu\r", reindexed); fflush(stdout); } else printf("cannot open: %s\n", filename);