diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2021-04-27 04:37:52 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-05-01 04:08:14 +0200 |
commit | 0ff94ae85d40efdc177e1852ef58848f82d14156 (patch) | |
tree | f647590d0803d9082b2b326be4fc6356cdf9d09e /lib | |
parent | 8faf749fd19aff0eb35eb7108d2fd379d3c9c3b9 (diff) | |
download | pacman-0ff94ae85d40efdc177e1852ef58848f82d14156.tar.gz pacman-0ff94ae85d40efdc177e1852ef58848f82d14156.tar.xz |
fix downloading multiple urls with XferCommand
An extra break causes _alpm_download to break out of the payload loop as
soon as it sees a successful url download with XferCommand.
Fixes: FS#70608 - -U fails to download all files with XferCommand
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/dload.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 70ec318a..9ed1a02a 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -880,7 +880,6 @@ int _alpm_download(alpm_handle_t *handle, if(payload->fileurl) { if (handle->fetchcb(handle->fetchcb_ctx, payload->fileurl, localpath, payload->force) != -1) { success = 1; - break; } } else { for(s = payload->servers; s; s = s->next) { |