projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added new win32 component to the release tarball
[rrdtool.git]
/
src
/
rrd_rpncalc.c
diff --git
a/src/rrd_rpncalc.c
b/src/rrd_rpncalc.c
index
f8759f8
..
a5ab61f
100644
(file)
--- a/
src/rrd_rpncalc.c
+++ b/
src/rrd_rpncalc.c
@@
-771,7
+771,7
@@
rpn_calc(rpnp_t *rpnp, rpnstack_t *rpnstack, long data_idx,
count++;
sum+=val;
}
count++;
sum+=val;
}
- /
/ now push the result bavk on stack
+ /
* now push the result back on stack */
if (count>0) {
rpnstack -> s[++stptr]=sum/count;
} else {
if (count>0) {
rpnstack -> s[++stptr]=sum/count;
} else {