summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47a4bc4)
raw | patch | inline | side by side (parent: 47a4bc4)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@989 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_gfx.c | patch | blob | history | |
src/rrd_rpncalc.c | patch | blob | history |
diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c
index 351f958269374d3883900c58ce34e35a35410981..789ca95c7933e49ce43a099e32326b6dd6d5b52f 100644 (file)
--- a/src/rrd_gfx.c
+++ b/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"
diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c
index f8759f8d67a84c91f3816b770d0f5efd3c068f84..a5ab61f9a2da7c526b14ebd770e0c541a0f19c16 100644 (file)
--- a/src/rrd_rpncalc.c
+++ b/src/rrd_rpncalc.c
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 {