From 9c1186a99b9af6eb1ce6ef02b3fa8f5b4cca8442 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 7 Jun 2009 20:48:39 +0000 Subject: [PATCH] fix some missing rrd_flushcached instances -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1855 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/bindings/perl-shared/RRDs.xs | 2 +- program/bindings/python/rrdtoolmodule.c | 2 +- program/bindings/ruby/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/bindings/perl-shared/RRDs.xs b/program/bindings/perl-shared/RRDs.xs index e15aaec1..029b3bee 100644 --- a/program/bindings/perl-shared/RRDs.xs +++ b/program/bindings/perl-shared/RRDs.xs @@ -451,6 +451,6 @@ rrd_flushcached(...) int i; char **argv; CODE: - rrdcode(rrd_cmd_flush); + rrdcode(rrd_flushcached); OUTPUT: RETVAL diff --git a/program/bindings/python/rrdtoolmodule.c b/program/bindings/python/rrdtoolmodule.c index 4e20aa0b..8eba8f92 100644 --- a/program/bindings/python/rrdtoolmodule.c +++ b/program/bindings/python/rrdtoolmodule.c @@ -572,7 +572,7 @@ static PyObject *PyRRD_flushcached( if (create_args("flushcached", args, &argc, &argv) < 0) return NULL; - if (rrd_cmd_flush(argc, argv) != 0) { + if (rrd_flushcached(argc, argv) != 0) { PyErr_SetString(ErrorObject, rrd_get_error()); rrd_clear_error(); r = NULL; diff --git a/program/bindings/ruby/main.c b/program/bindings/ruby/main.c index 4aa54736..355625f9 100644 --- a/program/bindings/ruby/main.c +++ b/program/bindings/ruby/main.c @@ -148,7 +148,7 @@ VALUE rb_rrd_flushcached( VALUE self, VALUE args) { - return rrd_call(rrd_cmd_flush, args); + return rrd_call(rrd_flushcached, args); } -- 2.30.2