diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:28 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:28 +0000 |
commit | bdae53f1bf6710404235bbbd071c55f4ec1a9330 (patch) | |
tree | 08a8f266a691e9f2cb0284ceab4e82a0442999b6 /apt-pkg/acquire-worker.cc | |
parent | 0140895997bdb6f5c836adfd83604f77ebde1f0a (diff) |
Random fixes..
Author: jgg
Date: 1999-08-03 05:19:41 GMT
Random fixes..
Diffstat (limited to 'apt-pkg/acquire-worker.cc')
-rw-r--r-- | apt-pkg/acquire-worker.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc index 7fdb03aa6..d5b4541a3 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.25 1999/08/03 02:25:38 jgg Exp $ +// $Id: acquire-worker.cc,v 1.26 1999/08/03 05:19:41 jgg Exp $ /* ###################################################################### Acquire Worker @@ -245,7 +245,6 @@ bool pkgAcquire::Worker::RunMessages() break; } - Pulse(); pkgAcquire::Item *Owner = Itm->Owner; pkgAcquire::ItemDesc Desc = *Itm; OwnerQ->ItemDone(Itm); @@ -253,8 +252,8 @@ bool pkgAcquire::Worker::RunMessages() atoi(LookupTag(Message,"Size","0").c_str()) != TotalSize) _error->Warning("Bizzar Error - File size is not what the server reported %s %u", LookupTag(Message,"Size","0").c_str(),TotalSize); - - Owner->Done(Message,CurrentSize, + + Owner->Done(Message,atoi(LookupTag(Message,"Size","0").c_str()), LookupTag(Message,"MD5-Hash")); ItemDone(); |