From: Florian Forster Date: Mon, 2 Apr 2012 08:14:12 +0000 (+0200) Subject: varnish plugin: Make argument "stats" const. X-Git-Tag: collectd-5.1.0^0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9e46dabef33262ba5d52973d99889b4a32e781c0;p=collectd.git varnish plugin: Make argument "stats" const. --- diff --git a/src/varnish.c b/src/varnish.c index d0e6a805..357b5f11 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -216,7 +216,7 @@ static int varnish_submit_derive (const char *plugin_instance, /* {{{ */ } /* }}} int varnish_submit_derive */ static void varnish_monitor (const user_config_t *conf, /* {{{ */ - c_varnish_stats_t *stats) + const c_varnish_stats_t *stats) { if (conf->collect_cache) {