From 8f4efb323a686933b94b1e4032ea5429dcac4328 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 4 Oct 2007 15:12:50 +0200 Subject: [PATCH] rrdtool plugin: Use the right variables when calling `rrd_update'.. *argl* --- src/rrdtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0