]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_progress: make max5data() use an algorithm
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Oct 2025 09:31:52 +0000 (11:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Oct 2025 12:21:00 +0000 (14:21 +0200)
commite49698925c7f90e8f1e70c2a71fb5d2b67918409
tree56ba2b3129254df5675dd71e90e2a355ca118449
parent34dc762ceff13250a2338242dfea6f9ce7f061fd
tool_progress: make max5data() use an algorithm

Instead of a list of conditions. Makes a unified decimal output when the
value is less than 100. Prepares for > 64 bit data type.

Closes #18807
src/tool_progress.c