From cfa9652f77aced1a4f5e5b611177f84bdd11f609 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 12 Sep 2016 09:33:47 +0200 Subject: [PATCH] varnish plugin: Fix syntax error. --- src/varnish.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2