projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8270e0d
)
trying again
author
Christian Ekstam
<chek01@management.datacenter.se>
Fri, 20 Apr 2018 08:50:53 +0000
(10:50 +0200)
committer
Christian Ekstam
<chek01@management.datacenter.se>
Fri, 20 Apr 2018 08:50:53 +0000
(10:50 +0200)
src/modbus.c
patch
|
blob
|
history
diff --git
a/src/modbus.c
b/src/modbus.c
index
da0d2d6
..
6422774
100644
(file)
--- a/
src/modbus.c
+++ b/
src/modbus.c
@@
-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);