summaryrefslogtreecommitdiff
path: root/cmdline/apt-helper.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-03-15 22:34:54 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-04-10 22:29:08 +0200
commitdfad5beea77d75983f6ff8a1b8296b74dd48203e (patch)
tree405a6e037cd162ec45b9757b826619a9d5f9f597 /cmdline/apt-helper.cc
parentb8eba208daebe3e3f235983e44da9c398d6f7a57 (diff)
add a simple unit test for acquire progress
This isn't testing much of the 'complex' parts, but its better than nothing for now. Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt-helper.cc')
-rw-r--r--cmdline/apt-helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc
index 65db857ad..a97fc903f 100644
--- a/cmdline/apt-helper.cc
+++ b/cmdline/apt-helper.cc
@@ -48,7 +48,7 @@ static bool DoDownloadFile(CommandLine &CmdL)
if (CmdL.FileSize() <= 2)
return _error->Error(_("Must specify at least one pair url/filename"));
- AcqTextStatus Stat(ScreenWidth, _config->FindI("quiet",0));
+ AcqTextStatus Stat(std::cout, ScreenWidth,_config->FindI("quiet",0));
pkgAcquire Fetcher(&Stat);
size_t fileind = 0;