From: hno <> Date: Sat, 27 May 2006 05:43:07 +0000 (+0000) Subject: Fix that strange looking "Notice: Short Strings is 36 bytes instead of requested... X-Git-Tag: SQUID_3_0_PRE4~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83ba0bf702e71ebfc417e6e988b423efc469bada;p=thirdparty%2Fsquid.git Fix that strange looking "Notice: Short Strings is 36 bytes instead of requested 36 bytes" message to say what it meant to say.. --- diff --git a/src/mem.cc b/src/mem.cc index 2b64c0d6e1..a4a8b9e683 100644 --- a/src/mem.cc +++ b/src/mem.cc @@ -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",