From: oetiker Date: Tue, 16 Feb 2010 10:54:13 +0000 (+0000) Subject: ruby binding fix: RRD graphv appears to not reset state properly - Sven Engelhardt X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e9af6e71cafe4fd98cad16a4d874896c584e72d4;p=rrdtool-all.git ruby binding fix: RRD graphv appears to not reset state properly - Sven Engelhardt git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@2021 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/ruby/main.c b/program/bindings/ruby/main.c index 10b455e9..8bd2e427 100644 --- a/program/bindings/ruby/main.c +++ b/program/bindings/ruby/main.c @@ -150,6 +150,7 @@ VALUE rb_rrd_infocall( VALUE result; a = string_arr_new(args); + reset_rrd_state(); data = func(a.len, a.strings); string_arr_delete(a);