projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b7a6d
)
Fix type instance sanitization in bind plugin
author
Thomas Kho
<tom@hioscar.com>
Thu, 2 Apr 2015 17:14:24 +0000
(13:14 -0400)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Thu, 2 Apr 2015 21:03:18 +0000
(23:03 +0200)
src/bind.c
patch
|
blob
|
history
diff --git
a/src/bind.c
b/src/bind.c
index
19d95d4
..
d358146
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-253,7
+253,7
@@
static void submit (time_t ts, const char *plugin_instance, /* {{{ */
if (type_instance) {
sstrncpy(vl.type_instance, type_instance,
sizeof(vl.type_instance));
- replace_special (vl.
plugin_instance, sizeof (vl.plugin
_instance));
+ replace_special (vl.
type_instance, sizeof (vl.type
_instance));
}
plugin_dispatch_values(&vl);
} /* }}} void submit */