diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:47 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:47 +0000 |
commit | 8b75eb1cadd4db3d6ecb27fa4f441843d3856f77 (patch) | |
tree | 90c049839bbb146007f9df15ffde83adb688f244 /apt-pkg/acquire.cc | |
parent | d44893223244d859057820954b8dd2e61324ad08 (diff) |
Fixed the cps resume problem
Author: jgg
Date: 1999-05-23 06:47:43 GMT
Fixed the cps resume problem
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r-- | apt-pkg/acquire.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index 07e4fab59..724c3cf05 100644 --- a/apt-pkg/acquire.cc +++ b/apt-pkg/acquire.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.cc,v 1.32 1999/04/07 06:02:56 jgg Exp $ +// $Id: acquire.cc,v 1.33 1999/05/23 06:47:43 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -703,7 +703,7 @@ void pkgAcquireStatus::Pulse(pkgAcquire *Owner) for (pkgAcquire::Worker *I = Owner->WorkersBegin(); I != 0; I = Owner->WorkerStep(I)) if (I->CurrentItem != 0 && I->CurrentItem->Owner->Complete == false) - CurrentBytes += I->CurrentSize; + CurrentBytes += I->CurrentSize - I->ResumePoint; // Normalize the figures and account for unknown size downloads if (TotalBytes <= 0) |