X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f436bdc5fdd0db812484774d701e7d98b1e76224..ab559b358d7c390ac63bfcf8d526ca44761aafc5:/apt-pkg/acquire.cc diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index 724c3cf05..306512436 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.33 1999/05/23 06:47:43 jgg Exp $ +// $Id: acquire.cc,v 1.34 1999/05/24 03:39:37 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -334,6 +334,10 @@ bool pkgAcquire::Run() for (Queue *I = Queues; I != 0; I = I->Next) I->Shutdown(); + // Shut down the items + for (Item **I = Items.begin(); I != Items.end(); I++) + (*I)->Finished(); + return !_error->PendingError(); } /*}}}*/