From: oetiker Date: Sun, 7 Jun 2009 20:48:39 +0000 (+0000) Subject: fix some missing rrd_flushcached instances -- kevin X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=88f9f8473259baa892d8819b7cf374c0e561103f fix some missing rrd_flushcached instances -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1855 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs index e15aaec..029b3be 100644 --- a/bindings/perl-shared/RRDs.xs +++ b/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/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index 4e20aa0..8eba8f9 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/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/bindings/ruby/main.c b/bindings/ruby/main.c index 4aa5473..355625f 100644 --- a/bindings/ruby/main.c +++ b/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); }