diff --git a/CHANGELOG.md b/CHANGELOG.md index 355e361..32aeb02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Folding@home Client Changelog ============================= +## v8.1.17 + - Don't show ``1B of 1B`` for completed up/download size. #130 + ## v8.1.16 - Fix core download retry logic. - Only add client executable directory to lib path on Windows. diff --git a/package.json b/package.json index 0e4ac9d..a11bce1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fah-client", - "version": "8.1.16", + "version": "8.1.17", "bin": { "fah-client": "./fah-client" }, diff --git a/src/fah/client/Unit.cpp b/src/fah/client/Unit.cpp index 651c149..00eb139 100644 --- a/src/fah/client/Unit.cpp +++ b/src/fah/client/Unit.cpp @@ -533,7 +533,8 @@ void Unit::setProgress(double done, double total) { if (oldValue != progress) { insert("progress", progress); - if (floor(oldValue * 100) < floor(progress * 100) && getState() != UNIT_RUN) + if (floor(oldValue * 100) < floor(progress * 100) && + getState() != UNIT_RUN && 1 < total) LOG_INFO(1, getState() << String::printf(" %0.0f%% ", progress * 100) << HumanSize(done) << "B of " << HumanSize(total) << 'B'); }