summaryrefslogtreecommitdiff
path: root/cmdline/acqprogress.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:01 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:01 +0000
commit024d1123bf43ec616da66c2481a8ee877e00b8cb (patch)
treec5d8d4061ea4fefd99dcd3674ef7046f35803542 /cmdline/acqprogress.cc
parentb826eb9e018b9abccea67bfa08c075a342ebe59b (diff)
Havocs cancel patch
Author: jgg Date: 1999-06-13 05:06:40 GMT Havocs cancel patch
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r--cmdline/acqprogress.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index 5e88d3cd0..d6031ad0a 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acqprogress.cc,v 1.14 1999/06/06 05:52:37 jgg Exp $
+// $Id: acqprogress.cc,v 1.15 1999/06/13 05:06:40 jgg Exp $
/* ######################################################################
Acquire Progress - Command line progress meter
@@ -132,10 +132,10 @@ void AcqTextStatus::Stop()
/* This draws the current progress. Each line has an overall percent
meter and a per active item status meter along with an overall
bandwidth and ETA indicator. */
-void AcqTextStatus::Pulse(pkgAcquire *Owner)
+bool AcqTextStatus::Pulse(pkgAcquire *Owner)
{
if (Quiet > 0)
- return;
+ return true;
pkgAcquireStatus::Pulse(Owner);
@@ -244,6 +244,8 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
BlankLine[strlen(Buffer)] = 0;
Update = false;
+
+ return true;
}
/*}}}*/
// AcqTextStatus::MediaChange - Media need to be swapped /*{{{*/