From: Florian Forster Date: Mon, 12 Sep 2016 07:33:47 +0000 (+0200) Subject: varnish plugin: Fix syntax error. X-Git-Tag: collectd-5.7.0~101^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfa9652f77aced1a4f5e5b611177f84bdd11f609;p=collectd.git varnish plugin: Fix syntax error. --- diff --git a/src/varnish.c b/src/varnish.c index e34ee569..c2149126 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -1134,8 +1134,8 @@ static int varnish_config_instance (const oconfig_item_t *ci) /* {{{ */ /* callback = */ varnish_read, /* interval = */ 0, &(user_data_t) { - ud.data = conf, - ud.free_func = varnish_config_free, + .data = conf, + .free_func = varnish_config_free, }); have_instance = 1;