projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fb443
)
modbus plugin: Adapt for the new "plugin_register_complex_read" interface.
author
Florian Forster
<octo@noris.net>
Wed, 21 Apr 2010 14:22:42 +0000
(16:22 +0200)
committer
Florian Forster
<octo@noris.net>
Wed, 21 Apr 2010 14:22:42 +0000
(16:22 +0200)
src/modbus.c
patch
|
blob
|
history
diff --git
a/src/modbus.c
b/src/modbus.c
index
5dc958f
..
adab0d0
100644
(file)
--- a/
src/modbus.c
+++ b/
src/modbus.c
@@
-810,9
+810,8
@@
static int mb_config_add_host (oconfig_item_t *ci) /* {{{ */
else
interval.tv_sec = 0;
- plugin_register_complex_read (name, mb_read,
- (interval.tv_sec > 0) ? &interval : NULL,
- &ud);
+ plugin_register_complex_read (/* group = */ NULL, name,
+ mb_read, (interval.tv_sec > 0) ? &interval : NULL, &ud);
}
else
{