Code

varnish plugin: Make argument "stats" const.
authorFlorian Forster <octo@collectd.org>
Mon, 2 Apr 2012 08:14:12 +0000 (10:14 +0200)
committerFlorian Forster <octo@collectd.org>
Mon, 2 Apr 2012 08:14:12 +0000 (10:14 +0200)
src/varnish.c

index d0e6a805abedf270efbea24b0d39102152add46d..357b5f11d0033d7f7efd1384e7ce666ba2bf3a70 100644 (file)
@@ -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)
        {