Run all changed files 68 8.c/1*.h through format.sh web util
[collectd.git] / src / routeros.c
index ece865b..fa28f04 100644 (file)
@@ -53,8 +53,7 @@ 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;
@@ -443,8 +442,7 @@ 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 */