diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-21 11:53:52 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-21 07:51:27 -0500 |
commit | c67c864ffd50ec0e071b055897c4622eaa132fc2 (patch) | |
tree | 90c2993b3fe7366177aa74184965d6dbb8a032b3 /src/pacman/database.c | |
parent | 488f341f57a1533397e33de9c749dbe778a1cbd4 (diff) |
Don't initialize progress to zero before calling curl_easy_perform().
Drawing progress bars before calling curl_easy_perform() is needless as
the curl progress callback is called with zero progress before actually
downloading the file anyways. Fixes display of "0%" progress bars when
sync'ing package databases that are already up to date.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/database.c')
0 files changed, 0 insertions, 0 deletions