From d89573ae72e7525a75ae558905598247d2091e8d Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 20 Oct 2011 06:48:39 +0000 Subject: [PATCH] fix ruby binding for rrd_xport #318 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2206 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/ruby/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c index 6dc229b..445eae3 100644 --- a/bindings/ruby/main.c +++ b/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); -- 2.30.2