projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc691c7
)
tail plugin: initialize user_data_t
author
Marek Becka
<marek.becka@superhosting.cz>
Wed, 10 Jun 2015 01:33:36 +0000
(21:33 -0400)
committer
Florian Forster
<octo@collectd.org>
Wed, 10 Jun 2015 07:32:14 +0000
(08:32 +0100)
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index
ab06338
..
9ae4139
100644
(file)
--- a/
src/tail.c
+++ b/
src/tail.c
@@
-342,6
+342,8
@@
static int ctail_init (void)
return (-1);
}
+ memset(&ud, '\0', sizeof(ud));
+
for (i = 0; i < tail_match_list_num; i++)
{
ud.data = (void *)tail_match_list[i];