summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-03 15:54:33 +0100
committerDan McGee <dan@archlinux.org>2011-11-03 15:54:33 +0100
commit601c808b8d3d4eec76b215e56f1d56f4fe591367 (patch)
tree506d237dc4b466a083377997f854ad8e5e829d21 /lib/libalpm/signing.c
parent1953fe43689054aded03eb166f4f987e7cc0dccd (diff)
downloadpacman-601c808b8d3d4eec76b215e56f1d56f4fe591367.tar.gz
pacman-601c808b8d3d4eec76b215e56f1d56f4fe591367.tar.xz
Fix download progress rounding edge case
Allan's original message: Occasionally when the download rate showed 100.0 the output got messed up. This was caused by the rounding of a number between 99.95 and 100. Adjust the threshold to avoid this rounding issue. Dan: make this fix, but also show values between 0 and 9.995 with two decimal places since we have the room. Original-fix-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.c')
0 files changed, 0 insertions, 0 deletions