Bug#286074: one-line-patch should've been a two-line one.

Wouter Verhelst Wouter Verhelst <wouter@grep.be>, 286074@bugs.debian.org
Fri, 17 Dec 2004 13:59:46 +0100


Silly me. Forgot the "other" pie in the pie chart.

This one /really/ works...

--- /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");

-- 
         EARTH
     smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
         WATER
 -- with thanks to fortune