X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetapp.c;h=bf4c286c6a9b5dd8b98a3a8ee096c97ed90aa510;hb=2f0b03e515cd82e6fd46ff98ea99a0f671f3bc22;hp=1c9b21ce1644b80745b257284e8bbd34111f6300;hpb=5cd5988ec752f441254fc887117c3d5aa8f8d094;p=collectd.git diff --git a/src/netapp.c b/src/netapp.c index 1c9b21ce..bf4c286c 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -2882,7 +2882,7 @@ static int cna_register_host (host_config_t *host) /* {{{ */ plugin_register_complex_read (/* group = */ NULL, cb_name, /* callback = */ cna_read, /* interval = */ host->interval, - /* user data = */ &(user_data_t) { + &(user_data_t) { .data = host, .free_func = (void *) free_host_config, });