aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-14 14:42:20 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-14 14:42:20 +0200
commitf8a2e8a55203f2cc16d70ad43afcc186adaab6b3 (patch)
tree140135f2478edeb4d974112cfbe5023a50a32cfd /src/libstore/download.cc
parentdd3714f6eff44e0777c5e8afcc7a29e283986629 (diff)
Shut up some warnings
Diffstat (limited to 'src/libstore/download.cc')
-rw-r--r--src/libstore/download.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index d073e870b..42fd05bd8 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -369,7 +369,7 @@ struct CurlDownloader : public Downloader
curl_multi_setopt(curlm, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
#endif
curl_multi_setopt(curlm, CURLMOPT_MAX_TOTAL_CONNECTIONS,
- settings.binaryCachesParallelConnections);
+ settings.binaryCachesParallelConnections.get());
enableHttp2 = settings.enableHttp2;