summaryrefslogtreecommitdiff
path: root/methods/gzip.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:20 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:20 +0000
commita7c835af20feeb470238ead3bda36af978c2600f (patch)
treefc85aa957eeba8b21c7a9c18bc8efb126c94d222 /methods/gzip.cc
parent36803406d195dba90a418bb858ebf65033867aba (diff)
downloadapt-a7c835af20feeb470238ead3bda36af978c2600f.tar.gz
Alfredo's vendor stuff
Author: jgg Date: 2001-03-13 06:51:46 GMT Alfredo's vendor stuff
Diffstat (limited to 'methods/gzip.cc')
-rw-r--r--methods/gzip.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/gzip.cc b/methods/gzip.cc
index 3f0efab4f..35ff692f4 100644
--- a/methods/gzip.cc
+++ b/methods/gzip.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: gzip.cc,v 1.14 2001/03/11 22:37:35 jgg Exp $
+// $Id: gzip.cc,v 1.15 2001/03/13 06:51:46 jgg Exp $
/* ######################################################################
GZip method - Take a file URI in and decompress it into the target
@@ -142,7 +142,7 @@ bool GzipMethod::Fetch(FetchItem *Itm)
// Return a Done response
Res.LastModified = Buf.st_mtime;
Res.Size = Buf.st_size;
- Res.MD5Sum = Hash.MD5.Result();
+ Res.TakeHashes(Hash);
URIDone(Res);