summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f15907)
raw | patch | inline | side by side (parent: 9f15907)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 13 Aug 2006 16:07:36 +0000 (16:07 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 13 Aug 2006 16:07:36 +0000 (16:07 +0000) |
program/src/rrd_tool.c | patch | blob | history |
diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c
index cf29cd983d4c7d5df2333880f87cffd83fde666c..f393f860d6f8749f69550b2e8df85c81f754cf4f 100644 (file)
--- a/program/src/rrd_tool.c
+++ b/program/src/rrd_tool.c
printf (" <%s>", DATA_ROW_TAG);
printf ("<%s>%lu</%s>", COL_TIME_TAG, ti, COL_TIME_TAG);
for (j = 0; j < col_cnt; j++) {
+ rrd_value_t newval = DNAN;
if (enumds == 1)
snprintf(vtag,15,"%s%lu", COL_DATA_TAG, j);
else
snprintf(vtag,15,"%s",COL_DATA_TAG);
- rrd_value_t newval = DNAN;
newval = *ptr;
if(isnan(newval)){
printf("<%s>NaN</%s>", vtag,vtag);