summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c77f27)
raw | patch | inline | side by side (parent: 2c77f27)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1877 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_info.c | patch | blob | history |
diff --git a/src/rrd_info.c b/src/rrd_info.c
index 9ea68d4c7e3cefdba7151fb8b11b7dd3bd5be5e4..aac2263ac9319d8b2ab31427e2d135ca6159ee63 100644 (file)
--- a/src/rrd_info.c
+++ b/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),