summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b9d988)
raw | patch | inline | side by side (parent: 5b9d988)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Feb 2007 12:19:12 +0000 (12:19 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Feb 2007 12:19:12 +0000 (12:19 +0000) |
program/src/rrd_gfx.c | patch | blob | history | |
program/src/rrd_rpncalc.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index 351f958269374d3883900c58ce34e35a35410981..789ca95c7933e49ce43a099e32326b6dd6d5b52f 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/src/rrd_gfx.c
-/****************************************************************************
+****************************************************************************
* RRDtool 1.2.19 Copyright by Tobi Oetiker, 1997-2007
****************************************************************************
* rrd_gfx.c graphics wrapper for rrdtool
# ifdef DEBUG
# define DPRINTF(...) fprintf(stderr, __VA_ARGS__);
# else
-# define DPRINTF(...)
+# define DPRINTF()
# endif /* DEBUG */
#endif /* _MSC_VER */
#include "rrd_tool.h"
index f8759f8d67a84c91f3816b770d0f5efd3c068f84..a5ab61f9a2da7c526b14ebd770e0c541a0f19c16 100644 (file)
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 {