summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-19 04:00:49 +0200
committerAllan McRae <allan@archlinux.org>2020-05-09 03:58:39 +0200
commit0346e0eef224ab8ba22b659026ffdf2bfe95f3ae (patch)
tree992dfe0b373b222ca9e8e636fe117bce5a23479e /src
parentb96e0df4dceaa2677baa1a3563211950708d3e63 (diff)
downloadpacman-0346e0eef224ab8ba22b659026ffdf2bfe95f3ae.tar.gz
pacman-0346e0eef224ab8ba22b659026ffdf2bfe95f3ae.tar.xz
Convert download packages logic to multiplexed API
Create a list of dload_payloads and pass it to the new _alpm_multi_* interface. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index c2e516ec..25909e02 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -405,10 +405,6 @@ void cb_event(alpm_event_t *event)
case ALPM_EVENT_DISKSPACE_DONE:
case ALPM_EVENT_HOOK_DONE:
case ALPM_EVENT_HOOK_RUN_DONE:
- /* we can safely ignore those as well */
- case ALPM_EVENT_PKGDOWNLOAD_START:
- case ALPM_EVENT_PKGDOWNLOAD_DONE:
- case ALPM_EVENT_PKGDOWNLOAD_FAILED:
/* nothing */
break;
}