projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix scaling issue -- Martin
[rrdtool.git]
/
src
/
rrd_fetch_libdbi.c
diff --git
a/src/rrd_fetch_libdbi.c
b/src/rrd_fetch_libdbi.c
index
c771026
..
7cde3f1
100644
(file)
--- a/
src/rrd_fetch_libdbi.c
+++ b/
src/rrd_fetch_libdbi.c
@@
-524,7
+524,7
@@
rrd_fetch_fn_libdbi(
}
(*data)[idx*(*ds_cnt)+4]=r_value;
/* now the average */
- (*data)[idx*(*ds_cnt)+1]/=
i
;
+ (*data)[idx*(*ds_cnt)+1]/=
count
;
}
}