From: Tobias Oetiker Date: Sun, 7 Jun 2009 20:48:39 +0000 (+0000) Subject: fix some missing rrd_flushcached instances -- kevin X-Git-Tag: 1.4.0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2c73e4f6524f74ae0668c9a024703b4ea49519;p=thirdparty%2Frrdtool-1.x.git 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 e15aaec1..029b3bee 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 4e20aa0b..8eba8f92 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 4aa54736..355625f9 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); }