varnish plugin: Fix syntax error.
authorFlorian Forster <octo@collectd.org>
Mon, 12 Sep 2016 07:33:47 +0000 (09:33 +0200)
committerFlorian Forster <octo@collectd.org>
Mon, 12 Sep 2016 07:33:47 +0000 (09:33 +0200)
src/varnish.c

index e34ee56..c214912 100644 (file)
@@ -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;