summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_sync.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-20 10:42:53 +0200
committerAllan McRae <allan@archlinux.org>2020-06-26 07:59:16 +0200
commit84723cab5dfc9b7f4594135295974f771ceb6e5e (patch)
treebaf8e614edb3f70842844b3bb1823c0ba5289169 /lib/libalpm/be_sync.c
parent16d98d657748fdbf32ab24db56d3cd4a23447673 (diff)
downloadpacman-84723cab5dfc9b7f4594135295974f771ceb6e5e.tar.gz
pacman-84723cab5dfc9b7f4594135295974f771ceb6e5e.tar.xz
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/be_sync.c')
-rw-r--r--lib/libalpm/be_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 82018e15..a0736320 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -223,7 +223,7 @@ int SYMEXPORT alpm_db_update(alpm_handle_t *handle, alpm_list_t *dbs, int force)
event.type = ALPM_EVENT_DB_RETRIEVE_START;
EVENT(handle, &event);
- ret = _alpm_multi_download(handle, payloads, syncpath);
+ ret = _alpm_download(handle, payloads, syncpath);
if(ret < 0) {
event.type = ALPM_EVENT_DB_RETRIEVE_FAILED;
EVENT(handle, &event);