X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Fpython%2Frrdtoolmodule.c;fp=bindings%2Fpython%2Frrdtoolmodule.c;h=8eba8f928b7e31167406da0e19e0152a85916b58;hb=88f9f8473259baa892d8819b7cf374c0e561103f;hp=4e20aa0b26eccbff48229870d6629d48d6b96d29;hpb=bb645ca129e84e78c78799310df6a4d3efe4b6dd;p=rrdtool.git 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;