Code

fix some missing rrd_flushcached instances -- kevin
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Jun 2009 20:48:39 +0000 (20:48 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Jun 2009 20:48:39 +0000 (20:48 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1855 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/perl-shared/RRDs.xs
bindings/python/rrdtoolmodule.c
bindings/ruby/main.c

index e15aaec13d719beb57877ef51c59e304f3da2d69..029b3beeebe0a3de3190e29d5e0f8419ac6c7ad3 100644 (file)
@@ -451,6 +451,6 @@ rrd_flushcached(...)
        int i;
        char **argv;
        CODE:
-               rrdcode(rrd_cmd_flush);
+               rrdcode(rrd_flushcached);
        OUTPUT:
                RETVAL
index 4e20aa0b26eccbff48229870d6629d48d6b96d29..8eba8f928b7e31167406da0e19e0152a85916b58 100644 (file)
@@ -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;
index 4aa54736fae8e4c56d186214ead1df20456cf35e..355625f9c2ec5d87b6124b1ec05cca1243decfdf 100644 (file)
@@ -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);
 }