]> git.saurik.com Git - apt.git/commitdiff
cmdline/apt-helper.cc: use less generic description/short-description
authorMichael Vogt <mvo@debian.org>
Fri, 6 Jun 2014 09:24:44 +0000 (11:24 +0200)
committerMichael Vogt <mvo@debian.org>
Fri, 6 Jun 2014 09:24:44 +0000 (11:24 +0200)
cmdline/apt-helper.cc

index 2c1107d9053e7845acaee798ac00541c87b2312b..b0edafcbd08224f70d6fd31feabbcb33b3c0e324 100644 (file)
@@ -43,7 +43,8 @@ static bool DoDownloadFile(CommandLine &CmdL)
    std::string hash;
    if (CmdL.FileSize() > 3)
       hash = CmdL.FileList[3];
    std::string hash;
    if (CmdL.FileSize() > 3)
       hash = CmdL.FileList[3];
-   new pkgAcqFile(&Fetcher, download_uri, hash, 0, "desc", "short-desc", 
+   // we use download_uri as descr and targetfile as short-descr
+   new pkgAcqFile(&Fetcher, download_uri, hash, 0, download_uri, targetfile, 
                   "dest-dir-ignored", targetfile);
    Fetcher.Run();
    bool Failed = false;
                   "dest-dir-ignored", targetfile);
    Fetcher.Run();
    bool Failed = false;