summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.h
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2021-05-09 15:23:57 +0200
committerAllan McRae <allan@archlinux.org>2021-05-09 15:28:04 +0200
commit8bf17b29a24802c587afda0e96d93b22c5f5caeb (patch)
treede6ac814ba133f7d04036b8c7d22d3e776353d85 /lib/libalpm/signing.h
parent4fead44e3ce97d3a83ca6bab393d480746ba9227 (diff)
downloadpacman-8bf17b29a24802c587afda0e96d93b22c5f5caeb.tar.gz
pacman-8bf17b29a24802c587afda0e96d93b22c5f5caeb.tar.xz
libalpm: fix download rates becoming negative
When a download fails on one mirror a new download is started on the next mirror. This causes the ammount downloaded to reset, confusing the rate math and making it display a negative rate. This is further complicated by the fact that a download may be resumed from where it is or started over. To account for this we alert the frontend that the download was restarted. Pacman then starts the progress bar over. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.h')
0 files changed, 0 insertions, 0 deletions