summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc691c7)
raw | patch | inline | side by side (parent: dc691c7)
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 ab063389a739fe64e561617f19e37158d6fcb869..9ae4139add86a2bb654895f2a8718f8cfde56770 100644 (file)
--- a/src/tail.c
+++ b/src/tail.c
return (-1);
}
+ memset(&ud, '\0', sizeof(ud));
+
for (i = 0; i < tail_match_list_num; i++)
{
ud.data = (void *)tail_match_list[i];