[emt] r219 committed - the associative array holding avg sums is not being initialized becaus...

1 view
Skip to first unread message

e...@googlecode.com

unread,
Apr 29, 2011, 4:02:57 PM4/29/11
to emt...@googlegroups.com
Revision: 219
Author: akirarat
Date: Fri Apr 29 13:01:59 2011
Log: the associative array holding avg sums is not being initialized
because of a typo.


http://code.google.com/p/emt/source/detail?r=219

Modified:
/trunk/plugins/bin/emt_memcached

=======================================
--- /trunk/plugins/bin/emt_memcached Tue Jul 13 16:08:06 2010
+++ /trunk/plugins/bin/emt_memcached Fri Apr 29 13:01:59 2011
@@ -108,7 +108,7 @@

foreach ($stats_avg as $sa)
{
- if (!isset($agv_sums[$sa]))
+ if (!isset($avg_sums[$sa]))
$avg_sums[$sa] = 0;

$avg_sums[$sa] += $status[$sa];

Reply all
Reply to author
Forward
0 new messages