Code

in rrd > 1.3 it's called rrd_info_push ... and not just info_push ...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 3 Aug 2009 18:51:20 +0000 (18:51 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 3 Aug 2009 18:51:20 +0000 (18:51 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1878 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_info.c

index aac2263ac9319d8b2ab31427e2d135ca6159ee63..d032e7b8880fdd18f24d22f5ffbbe58b4823a23c 100644 (file)
@@ -133,7 +133,7 @@ rrd_info_t *rrd_info_r(
     for (i = 0; i < rrd.stat_head->ds_cnt; i++) {
 
         info.u_cnt=i;
-        cd=info_push(cd,sprintf_alloc("ds[%s].index",
+        cd= rrd_info_push(cd,sprintf_alloc("ds[%s].index",
                                      rrd.ds_def[i].ds_nam),
                      RD_I_CNT, info);