]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
The memPoolAlloc counter never updated
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 10 Dec 2010 18:04:41 +0000 (20:04 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 10 Dec 2010 18:04:41 +0000 (20:04 +0200)
src/stat.cc

index cece967b9c9ac39b5610da89fe4784f94db0a1f6..7c4a5adb2d1ae463cb687d2ce32e3279ea6a75d0 100644 (file)
@@ -648,7 +648,7 @@ GetInfo(Mgr::InfoActionData& stats)
         stats.mem_pool_allocated = mp_stats.TheMeter->alloc.level;
 #endif
 
-        stats.gb_freed_count = mp_stats.TheMeter->gb_saved.count;
+        stats.gb_saved_count = mp_stats.TheMeter->gb_saved.count;
         stats.gb_freed_count = mp_stats.TheMeter->gb_freed.count;
     }