summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cd3cdc)
raw | patch | inline | side by side (parent: 4cd3cdc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 3 Aug 2009 18:45:04 +0000 (18:45 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 3 Aug 2009 18:45:04 +0000 (18:45 +0000) |
program/src/rrd_info.c | patch | blob | history |
diff --git a/program/src/rrd_info.c b/program/src/rrd_info.c
index 3ab1b592da1a323594689713a5b1654ed53318dd..506dce32c043cc5751084d318a5cbae6184f41f8 100644 (file)
--- a/program/src/rrd_info.c
+++ b/program/src/rrd_info.c
for (i = 0; i < rrd.stat_head->ds_cnt; i++) {
+ info.u_cnt=i;
+ cd=info_push(cd,sprintf_alloc("ds[%s].index",
+ rrd.ds_def[i].ds_nam),
+ RD_I_CNT, info);
+
info.u_str = rrd.ds_def[i].dst;
cd = rrd_info_push(cd, sprintf_alloc("ds[%s].type",
rrd.ds_def[i].ds_nam),