[exim] Re: Bug#286074: eximstats: uses message count as data…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Andreas Metzler
日付:  
To: exim-users
題目: [exim] Re: Bug#286074: eximstats: uses message count as data for the "volume" charts
On Fri, Dec 17, 2004 at 02:03:16PM +0100, Andreas Metzler wrote:
> Hello,
> This is <http://bugs.debian.org/286074> submitted by Wouter Verhelst,
> the report is aganst 4.34, but eximstats in 4.43 is unchanged.


There was a part of the patch missing, complete one is attached.
     sorry for wasting your time, cu andreas

--- /usr/sbin/eximstats    2004-12-17 13:36:44.381983753 +0100
+++ eximstats    2004-12-17 13:47:37.763185260 +0100
@@ -1107,11 +1107,11 @@
   if (scalar @chartdatanames < $ntopchart)
     {
     push(@chartdatanames, $key);
-    push(@chartdatavals, $$m_count{$key});
+    push(@chartdatavals, $$m_data{$key});
     }
   else
     {
-    $chartotherval += $$m_count{$key};
+    $chartotherval += $$m_data{$key};
     }
   }
 push(@chartdatanames, "Other");