From 8b75eb1cadd4db3d6ecb27fa4f441843d3856f77 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:47 +0000 Subject: Fixed the cps resume problem Author: jgg Date: 1999-05-23 06:47:43 GMT Fixed the cps resume problem --- apt-pkg/acquire-worker.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg/acquire-worker.cc') diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc index 2ec8f1bd8..29d5cd9d5 100644 --- a/apt-pkg/acquire-worker.cc +++ b/apt-pkg/acquire-worker.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-worker.cc,v 1.21 1999/04/20 05:02:09 jgg Exp $ +// $Id: acquire-worker.cc,v 1.22 1999/05/23 06:47:43 jgg Exp $ /* ###################################################################### Acquire Worker @@ -225,8 +225,9 @@ bool pkgAcquire::Worker::RunMessages() CurrentItem = Itm; CurrentSize = 0; TotalSize = atoi(LookupTag(Message,"Size","0").c_str()); + ResumePoint = atoi(LookupTag(Message,"Resume-Point","0").c_str()); Itm->Owner->Start(Message,atoi(LookupTag(Message,"Size","0").c_str())); - + if (Log != 0) Log->Fetch(*Itm); -- cgit v1.2.3-70-g09d2