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 e15aaec..029b3be 100644 (file)
@@ -451,6 +451,6 @@ rrd_flushcached(...)
        int i;
        char **argv;
        CODE:
-               rrdcode(rrd_cmd_flush);
+               rrdcode(rrd_flushcached);
        OUTPUT:
                RETVAL
index 4e20aa0..8eba8f9 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 4aa5473..355625f 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);
 }