From: oetiker Date: Thu, 20 Oct 2011 06:48:39 +0000 (+0000) Subject: fix ruby binding for rrd_xport #318 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f4c23d7c1a6183358f4e284197916ec3a3e981c;p=rrdtool-all.git fix ruby binding for rrd_xport #318 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2206 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/ruby/main.c b/program/bindings/ruby/main.c index 6dc229b8..445eae3d 100644 --- a/program/bindings/ruby/main.c +++ b/program/bindings/ruby/main.c @@ -333,6 +333,7 @@ VALUE rb_rrd_xport( time_t start, end; a = string_arr_new(args); + reset_rrd_state(); rrd_xport(a.len, a.strings, &xxsize, &start, &end, &step, &col_cnt, &legend_v, &data); string_arr_delete(a);