]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix that strange looking "Notice: Short Strings is 36 bytes instead of requested...
authorhno <>
Sat, 27 May 2006 05:43:07 +0000 (05:43 +0000)
committerhno <>
Sat, 27 May 2006 05:43:07 +0000 (05:43 +0000)
message to say what it meant to say..

src/mem.cc

index 2b64c0d6e19a7df5e82ae2363f0848d66c0dea35..a4a8b9e683db0b1c8a96af2c75e97bec6aadcd28 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mem.cc,v 1.96 2006/05/20 00:11:59 wessels Exp $
+ * $Id: mem.cc,v 1.97 2006/05/26 23:43:07 hno Exp $
  *
  * DEBUG: section 13    High Level Memory Pool Management
  * AUTHOR: Harvest Derived
@@ -401,7 +401,7 @@ Mem::Init(void)
         StrPools[i].pool = MemPools::GetInstance().create(StrPoolsAttrs[i].name, StrPoolsAttrs[i].obj_size);
 
         if (StrPools[i].pool->objectSize() != StrPoolsAttrs[i].obj_size)
-            debugs(13, 1, "Notice: " << StrPoolsAttrs[i].name << " is " << StrPoolsAttrs[i].obj_size << " bytes instead of requested " << StrPoolsAttrs[i].obj_size << " bytes");
+            debugs(13, 1, "Notice: " << StrPoolsAttrs[i].name << " is " << StrPools[i].pool->objectSize() << " bytes instead of requested " << StrPoolsAttrs[i].obj_size << " bytes");
     }
 
     cachemgrRegister("mem",