Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2020-11-24 12:39:04 +0000
committerAllan McRae <allan@archlinux.org>2020-11-26 16:19:24 +1000
commit9dc29ebf5f3c6fe34b5a1b60f6f57f88668d9d20 (patch)
tree91a3f4503489b7fc261c230e0983b3c474de238a
parentdb4092e33dacc6a0bb8afd283a82e6f4327cb865 (diff)
libalpm: set parallel_downloads to 1 when creating the handle
Fixes FS#68729 Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/alpm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 34c5b4b2..85cc4618 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -75,6 +75,8 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath,
myhandle->curlm = curl_multi_init();
#endif
+ myhandle->parallel_downloads = 1;
+
#ifdef ENABLE_NLS
bindtextdomain("libalpm", LOCALEDIR);
#endif