]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Clean up if "Setting maxBodySize to.." debug message to show correct context
authorhno <>
Mon, 26 May 2003 02:29:24 +0000 (02:29 +0000)
committerhno <>
Mon, 26 May 2003 02:29:24 +0000 (02:29 +0000)
src/client_side_reply.cc

index b003758e90f112a74a39e17ef09bc1c97cef628d..285d7e6461695ebfadc41de09ca93c199b6a101e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_reply.cc,v 1.52 2003/05/25 02:24:05 robertc Exp $
+ * $Id: client_side_reply.cc,v 1.53 2003/05/25 20:29:24 hno Exp $
  *
  * DEBUG: section 88    Client-side Reply Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -1823,10 +1823,10 @@ clientReplyContext::buildMaxBodySize(HttpReply * reply)
         ch->matchAclListFast(l->aclList);
 
         if (ch->finished()) {
-            if (l->size != static_cast<size_t>(-1))
+            if (l->size != static_cast<size_t>(-1)) {
+                debug(58, 3) ("clientReplyContext: Setting maxBodySize to %ld\n", (long int) l->size);
                 http->maxReplyBodySize(l->size);
-
-            debug(58, 3) ("httpReplyBodyBuildSize: Setting maxBodySize to %ld\n", (long int) http->maxReplyBodySize());
+            }
 
             break;
         }