projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mqtt plugin: Add support for TLS in Subscriber blocks.
[collectd.git]
/
src
/
tail.c
diff --git
a/src/tail.c
b/src/tail.c
index
1b720b8
..
407970a
100644
(file)
--- a/
src/tail.c
+++ b/
src/tail.c
@@
-309,7
+309,7
@@
static int ctail_init(void) {
}
for (size_t i = 0; i < tail_match_list_num; i++) {
- s
s
nprintf(str, sizeof(str), "tail-%zu", i);
+ snprintf(str, sizeof(str), "tail-%zu", i);
plugin_register_complex_read(NULL, str, ctail_read,
tail_match_list_intervals[i],