reset rrd_state for grapv in ruby bindings -- Sven Engelhardt
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 16 Feb 2010 13:04:18 +0000 (13:04 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 16 Feb 2010 13:04:18 +0000 (13:04 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2022 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/ruby/main.c

index 6fe6a35..6468582 100644 (file)
@@ -163,6 +163,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);