]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix for new HttpRequest
authorwessels <>
Fri, 20 Jan 2006 05:10:55 +0000 (05:10 +0000)
committerwessels <>
Fri, 20 Jan 2006 05:10:55 +0000 (05:10 +0000)
src/peer_digest.cc

index 8a0bd7e16d414199d985cc5f46934868c24b1a5a..a64c67b42de3b48c8277fe4aa589cbea04ae7d94 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_digest.cc,v 1.107 2006/01/03 21:09:00 wessels Exp $
+ * $Id: peer_digest.cc,v 1.108 2006/01/19 22:10:55 wessels Exp $
  *
  * DEBUG: section 72    Peer Digest Routines
  * AUTHOR: Alex Rousskov
@@ -945,7 +945,7 @@ peerDigestFetchSetStats(DigestFetchState * fetch)
 
     /* XXX: outgoing numbers are not precise */
     /* XXX: we must distinguish between 304 hits and misses here */
-    fetch->sent.bytes = httpRequestPrefixLen(fetch->request);
+    fetch->sent.bytes = fetch->request->prefixLen();
     /* XXX: this is slightly wrong: we don't KNOW that the entire memobject
      * was fetched. We only know how big it is
      */