X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frouteros.c;h=ece865b67dc76cd6f310843ed20e383f25d70b72;hb=904a45ef1b06bf7b14238af6d2aeb9bce176daf7;hp=fa28f0444da4a45ad577648a9a718e5eecffa8fb;hpb=93c4facaf7b6e35e032c3d46631097e34891d588;p=collectd.git diff --git a/src/routeros.c b/src/routeros.c index fa28f044..ece865b6 100644 --- a/src/routeros.c +++ b/src/routeros.c @@ -53,7 +53,8 @@ static void cr_submit_io(cr_data_t *rd, const char *type, /* {{{ */ const char *type_instance, derive_t rx, derive_t tx) { value_list_t vl = VALUE_LIST_INIT; value_t values[] = { - {.derive = rx}, {.derive = tx}, + {.derive = rx}, + {.derive = tx}, }; vl.values = values; @@ -442,7 +443,8 @@ static int cr_config_router(oconfig_item_t *ci) /* {{{ */ return plugin_register_complex_read( /* group = */ NULL, read_name, cr_read, /* interval = */ 0, &(user_data_t){ - .data = router_data, .free_func = (void *)cr_free_data, + .data = router_data, + .free_func = (void *)cr_free_data, }); } /* }}} int cr_config_router */