Explorar o código

cmdline/apt-get.cc: fix typo

Michael Vogt %!s(int64=15) %!d(string=hai) anos
pai
achega
413ba44c86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmdline/apt-get.cc

+ 1 - 1
cmdline/apt-get.cc

@@ -2806,7 +2806,7 @@ bool DownloadChangelog(CacheFile &CacheFile, pkgAcquire &Fetcher, pkgCache::VerI
    // queue it
    // queue it
    string changelog_uri = server+path;
    string changelog_uri = server+path;
    strprintf(descr, _("Changelog for %s (%s)"), srcpkg.c_str(), changelog_uri.c_str());
    strprintf(descr, _("Changelog for %s (%s)"), srcpkg.c_str(), changelog_uri.c_str());
-   new pkgAcqFile(&Fetcher, uri, "", 0, descr, srcpkg, "ignored", targetfile);
+   new pkgAcqFile(&Fetcher, changelog_uri, "", 0, descr, srcpkg, "ignored", targetfile);
 
 
    // try downloading it, if that fails, they third-party-changelogs location
    // try downloading it, if that fails, they third-party-changelogs location
    // FIXME: res is "Continue" even if I get a 404?!?
    // FIXME: res is "Continue" even if I get a 404?!?