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=582e1f70e7438e1bbeb067fa691462ae345f855f;p=rrdtool.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/program@2021 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c index 10b455e..8bd2e42 100644 --- a/bindings/ruby/main.c +++ b/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);