trying again
authorChristian Ekstam <chek01@management.datacenter.se>
Fri, 20 Apr 2018 08:50:53 +0000 (10:50 +0200)
committerChristian Ekstam <chek01@management.datacenter.se>
Fri, 20 Apr 2018 08:50:53 +0000 (10:50 +0200)
src/modbus.c

index da0d2d6..6422774 100644 (file)
@@ -997,8 +997,7 @@ 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);