summaryrefslogtreecommitdiff
path: root/cmdline/acqprogress.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:46 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:46 +0000
commitafce576495518d15b30297552cec2bc150f37569 (patch)
tree485b3c611a10d991326290e835e12155cb4ff276 /cmdline/acqprogress.cc
parent6a19558e1ef1c3ac6aff4af435c9d13a3405ca08 (diff)
downloadapt-afce576495518d15b30297552cec2bc150f37569.tar.gz
Fixed extraneous showing of [working]
Author: jgg Date: 1998-11-28 20:56:08 GMT Fixed extraneous showing of [working]
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r--cmdline/acqprogress.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index 194d3bb5..c80d4a67 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acqprogress.cc,v 1.3 1998/11/23 07:32:24 jgg Exp $
+// $Id: acqprogress.cc,v 1.4 1998/11/28 20:56:08 jgg Exp $
/* ######################################################################
Acquire Progress - Command line progress meter
@@ -148,7 +148,11 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
if (I->CurrentItem == 0)
{
if (I->Status.empty() == false)
+ {
snprintf(S,End-S," [%s]",I->Status.c_str());
+ Shown = true;
+ }
+
continue;
}