diff options
Diffstat (limited to 'examples/imapresource/imapresource.cpp')
-rw-r--r-- | examples/imapresource/imapresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 175f75a..e74a8f1 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -542,7 +542,7 @@ public: | |||
542 | synchronizeMails(folderRemoteId, m); | 542 | synchronizeMails(folderRemoteId, m); |
543 | }, | 543 | }, |
544 | [=](int progress, int total) { | 544 | [=](int progress, int total) { |
545 | SinkLogCtx(mLogCtx) << "Progress: " << progress << " out of " << total; | 545 | reportProgress(progress, total); |
546 | //commit every 100 messages | 546 | //commit every 100 messages |
547 | if ((progress % 100) == 0) { | 547 | if ((progress % 100) == 0) { |
548 | commit(); | 548 | commit(); |