alex
-
2005-02-15
- priority: 5 --> 9
YMax can reach situation in which it can be 0; then in
function GraphData it is used for division in
converting the bytes/sec to y coords.
This kills graphing (and generating index for whatever
is graphed already).
For the fast fix, I added
if ((YMax==0)) {
syslog(LOG_ERR, "div with %d", YMax );
YMax += 1;};
just above "// Convert the bytes/sec to y coords" line.
Waiting for CVS update.
Best regards,
Alexandru Matei