Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-20 01:42:53 -0700
committerAllan McRae <allan@archlinux.org>2020-06-26 15:59:16 +1000
commit84723cab5dfc9b7f4594135295974f771ceb6e5e (patch)
treebaf8e614edb3f70842844b3bb1823c0ba5289169 /lib/libalpm/sync.c
parent16d98d657748fdbf32ab24db56d3cd4a23447673 (diff)
Cleanup the old sequential download code
All users of _alpm_download() have been refactored to the new API. It is time to remove the old _alpm_download() functionality now. This change also removes obsolete SIGPIPE signal handler functionality (this is a leftover from libfetch days). Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index f329de10..0c2341ae 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -797,7 +797,7 @@ static int download_files(alpm_handle_t *handle)
payloads = alpm_list_add(payloads, payload);
}
event.type = ALPM_EVENT_PKG_RETRIEVE_DONE;
- if(_alpm_multi_download(handle, payloads, cachedir) == -1) {
+ if(_alpm_download(handle, payloads, cachedir) == -1) {
errors++;
event.type = ALPM_EVENT_PKG_RETRIEVE_FAILED;
_alpm_log(handle, ALPM_LOG_WARNING, _("failed to retrieve some files\n"));