fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 30 Jun 2009 12:16:32 +0000 (14:16 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 30 Jun 2009 12:16:32 +0000 (14:16 +0200)
correctly when downloading from multiple sites (Closes: #534752)

apt-pkg/acquire.cc
debian/changelog

index 38944bb..daea234 100644 (file)
@@ -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;
index 333640b..fd37b9c 100644 (file)
@@ -31,6 +31,8 @@ apt (0.7.22) UNRELEASED; urgency=low
   * do not write state file in simulate mode (closes: #433007)
   * add hook for auto-install (closes: #470035)
   * support IsAutoInstallOk in the resolver too
+  * fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
+    correctly when downloading from multiple sites (Closes: #534752)
 
   [ Michael Vogt ]
   * honor the dpkg hold state in AutoInstOk (closes: #64141)