From: Florian Forster Date: Thu, 4 Oct 2007 13:12:50 +0000 (+0200) Subject: rrdtool plugin: Use the right variables when calling `rrd_update'.. X-Git-Tag: collectd-4.1.3~12 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8f4efb323a686933b94b1e4032ea5429dcac4328;p=collectd.git rrdtool plugin: Use the right variables when calling `rrd_update'.. *argl* --- diff --git a/src/rrdtool.c b/src/rrdtool.c index e24aff95..06d97639 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -453,7 +453,7 @@ static int srrd_update (char *filename, char *template, int argc, char **argv) optind = 0; /* bug in librrd? */ rrd_clear_error (); - status = rrd_update (argc, argv); + status = rrd_update (new_argc, new_argv); pthread_mutex_unlock (&librrd_lock); if (status != 0)