summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:16:32 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:16:32 +0200
commit4b65cc13c74231e14a313ea05a2376cbc5155c5f (patch)
tree1184dcc020f18eb246d0a2253bb010e72a3e41ff /apt-pkg/acquire.cc
parent7a9f09bd66d51b92bb68f07e7fbc111df6206c93 (diff)
downloadapt-4b65cc13c74231e14a313ea05a2376cbc5155c5f.tar.gz
fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
correctly when downloading from multiple sites (Closes: #534752)
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r--apt-pkg/acquire.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 38944bbac..daea234d3 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -265,7 +265,7 @@ pkgAcquire::MethodConfig *pkgAcquire::GetConfig(string Access)
return 0;
/* if a method uses DownloadLimit, we switch to SingleInstance mode */
- if(_config->FindI("Acquire::"+Access+"::DlLimit",0) > 0)
+ if(_config->FindI("Acquire::"+Access+"::Dl-Limit",0) > 0)
Conf->SingleInstance = true;
return Conf;