Now with updated clang-format
authorcekstam <christian.ekstam@gmail.com>
Tue, 27 Mar 2018 14:31:13 +0000 (16:31 +0200)
committercekstam <christian.ekstam@gmail.com>
Tue, 27 Mar 2018 14:31:13 +0000 (16:31 +0200)
src/modbus.c

index 6422774..da0d2d6 100644 (file)
@@ -997,7 +997,8 @@ static int mb_config_add_host(oconfig_item_t *ci) /* {{{ */
                                  /* callback = */ mb_read,
                                  /* interval = */ host->interval,
                                  &(user_data_t){
-                                     .data = host, .free_func = host_free,
+                                     .data = host,
+                                     .free_func = host_free,
                                  });
   } else {
     host_free(host);