diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-04-19 04:00:49 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-05-09 03:58:39 +0200 |
commit | 0346e0eef224ab8ba22b659026ffdf2bfe95f3ae (patch) | |
tree | 992dfe0b373b222ca9e8e636fe117bce5a23479e /src | |
parent | b96e0df4dceaa2677baa1a3563211950708d3e63 (diff) | |
download | pacman-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.c | 4 |
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; } |